Unbound breaking points with pwa-chrome with Electron & Typescript #1099
Labels
author-verification-requested
Issues potentially verifiable by issue author
bug
Issue identified by VS Code Team member as probable bug
good first issue
Issues identified as good for first-time contributors
verified
Verification succeeded
Milestone
Hello,
I am doing the transition to the new VSCode debugger for an Electron app and I can't sort out how to configure launch.json to hit breakpoints on .tsx files with pwa-chrome. I have the following versions:
If I set a breakpoint on a .tsx file it is hit on the compiled .js file. The output of the debugger is full of messages like:
Could not read source map for c:\Users\jvall\Indeep_projects\onevision-electron\app\src\core\components\gui\src\guiService\components\dataset\react\dataset-explorer.js: Unexpected token ; in JSON at position 12
. The .js.map and .js files are generated on the same directory of the .ts source. It seems from the message that it finds the source map but cannot parse it.I would appreciate it if you could have a look and give me some ideas of what could be wrong, because I am a bit stuck right now.
Attached the trace file of the debugger and example .js and .js.map files.
files.zip
This is the configuration of the debugger for the main process (working fine) and for the renderer to attach to the Chrome process (not working). I have tried many different parameters but without success.
The text was updated successfully, but these errors were encountered: