Advice on Local Install Debugging - Windows
-
Hi,
Can anyone point me in the right direction as to how to setup a local install of nodebb running on Windows 10 that I can debug?
I tried to follow the installation instructions in here but I hit an issue with it saying JQuery was not defined when runinng app.js -setup, even though that was installed http://nodebb.readthedocs.io/en/latest/installing/os/windows8.html
What is the best way to debug on Windows? What IDE do you use?
Any pointers appreciated.
Thanks
Ted
-
@tedbaker make sure you have a node version greater than v4
-
@tedbaker said in Advice on Local Install Debugging - Windows:
@PitaJ I could have sworn I had checked that, running now, thank you ever so much.
How do you recommend debugging?
Thanks
Ted
I recommend you using Vidual Studio Code, has support for debugging by default with no config needed, and it is free and open source.
Webstorm should work good too.
-
@tedbaker you're welcome. Just a note here, i don't know if it's just me or it happens to all devs around, but for debuggin i need to log in to the app, on dev or production mode (started by console) to get the authentication working (if authentication not existed already). After that i can debbug perfectly.
I mention that because in case you want to test something with multiple user accounts, in debug (i had that use-case), you maybe will face the same problem. As i said if you run the app by console, get authentication done, you can then debugg the app with no problem.
Think it its produce by the thread handling on authentication process but i'm not sure.
Regards.