Skip to content

Plain node debugging cannot connect #11864

@cheryly279

Description

@cheryly279
  • 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions