@julian Whaaaaaat??? 😢
I will try to submit a PR. It's probably better to do a breaking change before v1.0.0
I'd like to pass
--inspect to the forked app.js process. Right now I'm simply bypassing
nodebb and doing
node --inspect ./app.js
I'd like to be able to do something like
./nodebb nodearg=--inspect dev is there a way to do this?
I've seen other cli tools that implement something like this
gcc <otherArgs> -Xlinker arg <otherArgs>
arg will be passed to the linker child process
@PitaJ Trying to get the unminified client js and debug the server at the same time.
NODE_ENV=development&& ./nodebb build && node --inspect app should work for that. In the next version of NodeBB, you could even do
./nodebb build --dev && node --inspect app