Repository navigation
Replies: 1 comment
|
Thank you very much for your post. I tried it and i can create Breakpoints in the main process, but i am not able to create breakpoints in the renderer process ? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I got debugging working in VS Code for both the main and renderer processes by adding this
launch.jsonfile.{ "version": "0.2.0", "configurations": [ { "name": "Main Process", "request": "launch", "type": "node", "cwd": "${workspaceFolder}", "runtimeExecutable": "npm", "runtimeArgs": ["run", "dev"], "skipFiles": ["<node_internals>/**"], "env": { "REMOTE_DEBUGGING_PORT": "9222" } }, { "name": "Renderer Process", "request": "attach", "type": "chrome", "webRoot": "${workspaceFolder}/src/renderer", "port": 9222, "timeout": 30000 } ], "compounds": [ { "name": "All Processes", "configurations": ["Main Process", "Renderer Process"], "presentation": { "order": 0 } } ] }Then in
vite.config.tsI modified the returned configuration as follows:All reactions