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

Node inspection debug #646

Open
alainheres opened this issue Feb 6, 2020 · 2 comments · Fixed by #656
Open

Node inspection debug #646

alainheres opened this issue Feb 6, 2020 · 2 comments · Fixed by #656
Assignees

Comments

@alainheres
Copy link

Is there a possibility to have a wrapper or something similar for node inspection flag (--inspect=HOST:PORT), so that it would be possibile to attach a debugger?
This was possible in previous versions directly launching node.

@darkbtf
Copy link
Contributor

darkbtf commented Feb 14, 2020

You can use

NODE_OPTIONS='--inspect=HOST:PORT' bottender start

to enable node debugger.

However, for bottender dev, there's a problem on nodemon watch so inspect is not available on dev mode, we're currently fixing that.

@alainheres
Copy link
Author

Thank you!

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

Successfully merging a pull request may close this issue.

2 participants