Debugger: How to debug main process of Electron apps? #35081
Unanswered
Haraven
asked this question in
Help and General Q&A
Replies: 0 comments
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.
-
Hello,
I have an Electron webpack app I am developing and I would like to debug it using Zed. I am using Electron Forge to package my app, and yarn to manage app packages.
For reference, I have been developing it using VSCode/Cursor for the most part, and have had no issues debugging it using the VSCode debugger.
In Zed, however, I can't figure out how to start debugging. From what I read, Zed should automatically work with
.vscode/launch.json
debug configurations, but the debugger never launches my app. It always disconnects before my app gets to launch.I've also tried changing my launch config to match the official VSCode debug configuration provided by the Electron team, but that doesn't work for my setup in Zed either.
I would appreciate any kind of pointers or help in getting start with debugging my app using Zed.
Configs:
launch.json
package.json
System information:
Beta Was this translation helpful? Give feedback.
All reactions