xatom-debug icon indicating copy to clipboard operation
xatom-debug copied to clipboard

Error, Node.js: unable to find page with socket

Open yilunyu opened this issue 8 years ago • 9 comments

When I tried to use this debugger it gave me the title message in the title. I configured node.js as Run Type: current file Binary Path: C:\Program Files\nodejs\node.exe Port: I tried 5858, 8000, 80. Nothing worked. launchArguments: mysqlTest.js

How do I resolve this error?

yilunyu avatar Jun 19 '17 22:06 yilunyu

the same problem

yotavm avatar Jun 26 '17 14:06 yotavm

+1

spiritson avatar Jun 27 '17 07:06 spiritson

+1 here.

On a Mac, using the Remote Process mode, I set it to localhost and the correct port. still nothing.

kevitan avatar Aug 02 '17 13:08 kevitan

+1

JavierAroche avatar Aug 15 '17 22:08 JavierAroche

+1

I've edited the node-launcher-files as suggested here https://github.com/xatom-plugins/xatom-debug-nodejs/issues/4#issuecomment-309239036

Now the debugger starts bug it seems Atom cannot attach the debugger process (unable to find page with socket)

debugger

But when I manually set the port displayed in the command line window to the options I get it working.

It seems like the port set in the options is not forwarded to the command line tool of node-launcher

nuggie avatar Aug 16 '17 14:08 nuggie

I had node 6.10 and same issue, then I update node to 8.5 and it works now.

sametsafak avatar Sep 17 '17 07:09 sametsafak

+1, in Ubuntu 16.04 and Windows 7.

rpichioli avatar Oct 04 '17 12:10 rpichioli

Same problem, windows 10 x64, node v6.11.2, Atom v1.21.1 x64.

karianpour avatar Oct 25 '17 19:10 karianpour

Anyone knows how to fix this issue in xatom chrome debug?

Cactusx09 avatar Jul 13 '18 09:07 Cactusx09