Deleted by author
SOLVED Passing cli arguements to nodebb's child processes
I'd like to pass
--inspectto the forked app.js process. Right now I'm simply bypassing
node --inspect ./app.js
I'd like to be able to do something like
./nodebb nodearg=--inspect devis 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 appshould work for that. In the next version of NodeBB, you could even do
./nodebb build --dev && node --inspect app