Can't debug NodeBB with node-inspector
I'm on Arch and NodeBB is working fine, but I'm having problems when trying to debug it.
I've followed the documentation on how to use node-inspector. While I don't call the
killcommand I can access NodeBB in localhost:4567 but after doing so it just never loads. Opening node-inspector I can see the files and add breakpoints but I can't load NodeBB.
This is making me so angry that I don't know how I've not given up yet.
Make sure you are executing node with the
--nolazyargument. I haven't personally got the devtools integration working, but I know in VS Code, all you need are the runtime arguments
Huuugh, so easy. Thanks a lot, it's working. But now it's time to understand the code.
Nice way to debug. I am still using console.log() I guss my stuff is to simple