NIF like a champ: VS Code Debugging C/C++ NIFs

Nice guide!

FYI you can run “make install TYPE=debug” and it should install all the debug files your want.

Windows users can run that just fine in WSL, which the entire Erlang/OTP build system is centered around. They don’t need to though as the windows installer is shipped with beam.debug.smp prebuilt, so Windows users can just run erl.exe -emu_type debug and they will get a debug emulator.

4 Likes