Skip to content

Add debug --host option #2413

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

Merged
merged 3 commits into from
Mar 1, 2020
Merged

Conversation

DYefimov
Copy link
Contributor

Fixes #2406

Previously AVA in debug mode was listening only on hardcoded '127.0.0.1' (loopback) interface.
Now, it defaults to loopback, with an override command line option: "--host".

Example usage:
node ava debug --host 0.0.0.0 --break "${relativeFile}"

@novemberborn
Copy link
Member

@DYefimov PR looks great at first glance, will try and land it this weekend.

@novemberborn novemberborn changed the title Added new options.debug.host cmd line option Add debug --host option Mar 1, 2020
@novemberborn novemberborn merged commit 13d6651 into avajs:master Mar 1, 2020
@novemberborn
Copy link
Member

Thanks @DYefimov, this is now available as v3.5!

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 this pull request may close these issues.

AVA debug --break is hardcoded to bind to loopback interface.
2 participants