Quick guide on setting up debugging for node-gyp. Includes debugging via terminal and a visual studio code config for easy setup. This assumes you have created a working node-gyp project and just want to get the debugging working. If not start here for a basic setup.

NOTE: This is via Linux as we are using gdb but if you using another OS; lookup how the specific debugger works and apply a similar principle.

bogdandrema at gmail dot com
Terms and conditions reserved