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"
}
]
}