neon
neon copied to clipboard
Debugging from Electron
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