Vscode on Windows - Using breakpoints

I'm slowly diving into this project as I like Joplin, I want to learn Electron & TypeScript and eventually propose, I hope, some Pull Requests

On Windows, how do I configure breakpoints with Visual Studio Code?

I can run the app just by following the doc. But I'm struggling to have Joplin reaching breakpoints. When I set a breakpoint, the debugger shows Unbound Breakpoint

I've installed Debugger for Chrome and configured a launch.json as follow

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug Main Process",
      "type": "node",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
      "windows": {
        "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
      },
      "args": [
        "."
      ],
      "outputCapture": "std"
    }
  ]
}

Just add debugger; anywhere in the source code where you want it to break.

But to be honest debugging compiled JS code is a mess, and source maps work randomly and break from one Electron release to the next, so personally I just got used to use console for debugging.