I try to setup debugging in visual studio code for a C++ Node-Addon compiled with GYP. I want to step through the source-code if possible. I use typescript as my server language and include the ".node" file compiled by gyp. This works fine but how do I set it up so I can step not only through the typescript code but also through the C++ code?
VSCode breakpoints for .cc file:
I know I can compile a debug-version with gyp node-gyp rebuild --debug
, but I have no plan how to use that in vscode.