托管于语雀:https://yuque.com/a632079/nodebb
文档覆盖了 NodeBB 英文文档提及的所有内容,并补充了一些内容。
主要内容:
This is a chinese document of nodebb, created by me, who is a transifex reviewer.
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
@Qwertyzw why?
@Qwertyzw 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