node.js - nodejs debug问题
ringa_lee
ringa_lee 2017-04-17 15:23:34
0
2
370

我现在开发环境是把nodejs装在centos虚拟机上。通过端口映射的方式访问虚拟机,虚拟机的网络连接是nat类型。
目前运行node debug的时候发现debugger的端口号提示有点奇怪。如下图。

尴尬的是运行node-inspector可以运行,但是一打开浏览器就 崩溃报错信息如下。

求高手解答,现在完全蒙蔽状态。

ringa_lee
ringa_lee

ringa_lee

reply all(2)
迷茫

I am also a beginner...
Look at the error message, ref is undefined. Did you not define ref in the code or did you spell it wrong?

左手右手慢动作

The default port of the debugger is 5858. If the error is reported, it means there is a problem with the code. Please check it carefully.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template