microsoft / vscode-recipes

MIT License
5.86k stars 577 forks source link

Cannot connect to the target at localhost:9223. Could not connect to debug target at .. Promise was caceled. #286

Closed ShlomiRex closed 2 years ago

ShlomiRex commented 3 years ago

I followed the exact instructions in how to debug electron: https://github.com/Microsoft/vscode-recipes/tree/master/Electron

image

Main process debugging works But renderer process doesn't work

Also does anyone know if it is possible to debug TypeScript based electron app? With generated .js files and source maps, it debugs the JS itself and not typescript file