Source maps are the closest thing currently: build with -g4, load in a browser's devtools, and you should see the original C++ source code, and can place breakpoints. However, variable names don't work. That will need something more like DWARF, which people are currently working on.
On Wed, Jul 3, 2019 at 3:47 PM adam crockett <[email protected]> wrote: > Thanks everyone, firstly I have searched high and low for a definitive > answer but have not found anything credible. > > Is it possible to place breakpoints in <insert_ide_name> here and have a > process (I don't know what) attach so that a developer can debug the c/c++ > portion of the code? > > My use case: > Target: node 8^ > Editor: vscode > > Have you managed it, what is your editor of choice and may you share the > steps. > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/491e84c9-7920-4b30-ad34-4b90df381e10%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpQZOo1sYC4cgUWSz_p5c00O%3DcPNKQUqgnMwSKZCXYgSxw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
