简体   繁体   English

禁用节点检查器Chrome控制台错误

[英]Disable node-inspector Chrome console errors

Node-inspector is working fine with regard to debugging successfully. Node-inspector在成功调试方面运行良好。 However, there are multiple errors that pop up in the console such as 但是,控制台中会弹出多个错误,例如

Runtime.getProperties failed.
Error: No scopes

This is apparently fixed by downgrading to a different NodeJS version, which I cannot do for various reasons. 显然,这是通过降级到其他NodeJS版本来解决的,出于各种原因,我无法这样做。 I really don't mind the errors, except for the fact that every time one pops up, the Chrome debugger moves from the "Sources" view to the "Console" view, which is very distracting when it happens every single time I have to step through the code. 我真的不介意这些错误,除了事实是,每次弹出Chrome调试器时,它都会从“源”视图移到“控制台”视图,这在每次必须执行时都会分心。单步执行代码。

Any clues on how to disable these errors, or otherwise stop the window from moving to the console window, or otherwise stop the errors all together? 是否有关于如何禁用这些错误的其他线索,或者是停止将该窗口移至控制台窗口,还是完全停止了这些错误?

此问题已在Node Inspecto 0.11.0中修复

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

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