neon icon indicating copy to clipboard operation
neon copied to clipboard

Debugging from Electron

Open snowsignal opened this issue 4 years ago • 0 comments

I have an Electron app that uses Neon to generate bindings for some Rust libraries. I have been trying to debug my application using rust-lldb, but I cannot set breakpoints within the Rust code that LLDB will recognize. All the libraries are built in debug mode. Is there a way to properly debug Rust code being called from Electron via Neon?

For reference, the command I'm using for LLDB is:

rust-lldb node -- node_modules/.bin/electron dist/app/main.js

snowsignal avatar Jun 11 '20 20:06 snowsignal