You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Deluze would it be possible to include the VSCode debug files (launch.json and tasks.json) in the template? If not, do you have any recommendations on how to create them?
Thank you very much in advance!
The text was updated successfully, but these errors were encountered:
The Main process breakpoints are working well with this setup, after adding sourceMap: true to the src/main/tsconfig.json file (and running yarn run dev to compile the code and generate the source-maps). Maybe adding a command to only compile the code, instead of serving it may help, and we could add a task and use preLaunchTask to compile it before starting the debugger.
But I could not make the debugger run with the renderer process. I think the problem is that the renderer window directly uses the file renderer/index.html, which imports main.ts directly. Seems a way to solve it is always to compile the renderer/main.ts to JavaScript, generating the sourcemap and a separate index.html on the build directory, similar to that generated when we run yarn run build, and use this when starting the renderer window.
I hope it helps to add the debug layer to the template.
Hi @Deluze would it be possible to include the VSCode debug files (launch.json and tasks.json) in the template? If not, do you have any recommendations on how to create them?
Thank you very much in advance!
The text was updated successfully, but these errors were encountered: