简体   繁体   English

Windows上的节点检查器黑屏

[英]node-inspector blank screen on windows

I can't seem to get node-inspector to work on windows I'm trying to debug this script: 我似乎无法让Node-inspector在Windows上尝试调试此脚本:

app.js app.js

console.log('HELLO WORLD');

debugger;

console.log('HELLO DEBUGGER');
setInterval(function () {
    debugger;
    console.log('HELLO');
}, 10000);

I tried following things, with and without elevated permissions: 我尝试了以下事情,无论是否具有提升的权限:

node-debug app.js
//
node-inspector 
node --debug-brk app.js

In any event, If I navigate in chrome to http://localhost:8080/debug?port=5858 无论如何,如果我在Chrome中导航到http://localhost:8080/debug?port=5858
I just get a blank screen with an empty toolbar above and a grey toolbar below. 我只是得到一个空白屏幕,上面有一个空的工具栏,下面是一个灰色的工具栏。

If I look into the devtools, it seems like chrome is waiting for the websocket to establish, the ws://localhost:8080/ws?port=5858 keeps 'pending' 如果我查看devtools,似乎chrome正在等待websocket建立,则ws://localhost:8080/ws?port=5858保持“待定”状态

Versions: 版本:

Windows 7 Pro x64
node-inspector v0.7.3
node v0.10.26
chrome 33.0.1750.154 m
chrome 36.0.1930.0 canary

I'm running chrome with --disable-extensions 我正在使用--disable-extensions运行chrome

I can't seem to find any error logs, so I'm not sure where to go from here. 我似乎找不到任何错误日志,所以我不确定从这里去哪里。 How I can fix / debug this ? 我该如何解决/调试此问题?

Problem was the virus scanner. 问题是病毒扫描程序。 I was using "Ad-Aware, Free Antivirus+", uninstalled it, everything works fine. 我使用的是“ Ad-Aware,免费杀毒软件+”,将其卸载后,一切正常。

When I read the answer above I realised it might be my AdBlock chrome plugin. 当我阅读以上答案时,我意识到这可能是我的AdBlock chrome插件。 I disabled it for localhost and it worked :) 我禁用了它的本地主机,它的工作:)

对我来说,问题是摩托罗拉的上流软件又名MotoHelperAgent.exe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM