theseus
theseus copied to clipboard
Passthrough arguments to node process
Before discovering Theseus I used node-inspector for debugging with the command below to launch my server and enable debugging:
node --debug server.js
However when using Theseus launcher I find I cannot pass the --debug argument through, nor others such as --port.
Is there are reason that this would not be possible?
It would be very handy to be able to use a full debugger at the same time as seeing Theseus metrics and introspection.
node-theseus doesn't wrap node directly, so arguments you pass to it don't make it to node itself. I don't know of a way to do that, but a patch would be welcome. In the times that I've needed those features, I've edited the shebang line of node-theseus to include them, like this: #!/usr/bin/env node --debug