I want to be able to step though my C++ code for a Node.js addon that I am making. I understand that CMake.js has the --debug
option, but there is no documentation about it.
I am using the node-addon-api module, in CLion.
After months of blind debugging though the use of Errors to print variables, I have finally figured out how to attach the CLion debugger to a Node.js addon.
which node
or where.exe node
on Windows to get the path)