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

Plain node debugging cannot connect #11864

Closed
cheryly279 opened this issue Mar 15, 2017 · 1 comment
Closed

Plain node debugging cannot connect #11864

cheryly279 opened this issue Mar 15, 2017 · 1 comment

Comments

@cheryly279
Copy link

cheryly279 commented Mar 15, 2017

  • Version: 6.9.1, 6.9.5, 6.10.0
  • Platform: Darwin Cheryls-Macbook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan 9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64
  • Subsystem: debugger

Hello, I'm having issues using the node debugger. I have installed and uninstalled node a few times using either brew or nvm.

If I run a command like:

node debug fileToTest.js

I get output like so, but no connection is made (everything just hangs):

< Debugger listening on [::]:5858
connecting to 127.0.0.1:5858 ...

This issue is NOT happening in versions 7.x.x but that's not compatible with my code.

As a temporary workaround I seem to be able to use the chrome debugging with the command:

node --inspect --debug-brk fileToTest.js

But I'd prefer to be able to use the regular command, as it's used by other debuggers in IDEs that I want to use (Atom, WebStorm, etc).

@cheryly279
Copy link
Author

Ah, working now. Don't know what was wrong but the magic formula seems to be nvm install then a restart.

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