I'm running nodebb locally (0.7.0) with mongodb and node.js v.12.03 and would like to start developing some plugins.
I come from a java background and i'm totally new to node.js. I was wondering what IDE do you use,** and i'm really interested in how do you debug code.**
I'm trying to use Webstorm as an IDE, and make use of the debugger.
I was a bunch of topics in the forum that ask this question, but all of them seems to be quite old, I would like to know your suggestion in order to have a comfortable development environment at the moment (things might have changed since the older topics where written).
PS: I throw here the error i'm getting when i try to debbug nodebb whit webstorm so hopefully someone can help. But please, make your suggestions of different IDES editors or tools. Any link, tutorial or reference is highly appreciated.
/usr/bin/node --debug-brk=49016 --nolazy app.js
Debugger listening on port 49016
24/5 16:27  - info: NodeBB v0.7.0-dev Copyright (C) 2013-2014 NodeBB Inc.
24/5 16:28  - warn: [plugins/nodebb-theme-lavender] This plugin may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing.
24/5 16:28  - warn: [plugins/nodebb-theme-lavender] In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset plugin="nodebb-theme-lavender".
Error: listen EADDRINUSE
at exports._errnoException (util.js:746:11)
at Agent.Server._listen2 (net.js:1156:14)
at listen (net.js:1182:10)
at Agent.Server.listen (net.js:1267:5)
at Object.start (_debugger_agent.js:20:9)
at startup (node.js:86:9)
Thanks in advance!