Allow arguments to be passed to node when using `pubsweet run`
In cli/run.js
, it would be useful if extra arguments can be passed into const cmd = ['node', path.join(__dirname, '../src/start.js')]
.
This would allow debugging to be switched on by IDEs, e.g. JetBrains apps which use node $NODE_DEBUG_OPTION index.js
as a package.json script.