Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--debug and --debug-brk port instead of flag #86

Closed
tishma-pstech opened this issue Jan 1, 2013 · 2 comments
Closed

--debug and --debug-brk port instead of flag #86

tishma-pstech opened this issue Jan 1, 2013 · 2 comments

Comments

@tishma-pstech
Copy link

I'm trying to replace node with supervisor from IntelliJ Idea Debugger. The debugger uses --debug-brk=[random port number] in order to avoid conflicts on default port - 5858.
My research has shown that supervisor only allows for default port (i.e. accepts --debug and --debug-brk options only as flags, without port number value).
It'd be great if supervisor could pass the entire option to node 'as is', instead of supporting the default port behavior only.

Thanks
v.

@iangreenleaf
Copy link
Collaborator

Thanks for the report. You should be able to work around this like so:

supervisor -- --debug=1234 app.js

Ideally, I'd like to pass these and any other options directly through without writing too much logic into node, but that hasn't happened yet - see #49.

@iangreenleaf
Copy link
Collaborator

Closing in favor of #123.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants