Can't Execute Command, Goes to Newline Instead
I am running node inspector and trying to run commands in the console.
However, I cannot run them. Instead of running, hitting enter goes to a new line.
Using any other console in chrome works fine, just not Inspector's.
Have tried restarting node and inspector. Any ideas how to fix this?
It seems like Chrome v54, v56 are having this issue for both mac and windows. The easiest solutions so far is downgrading your chrome to v51, and I think some one is working on a PR to fix this.
You can download V51 from here http://google-chrome.en.uptodown.com/mac
===========================================================================
Another work around is to use command node --inspect --debug-brk index.js
After running that, goto chrome, open chrome://inspect
you will see a page like this
Find the target and click the inspect, a debugger will be attached automatically and everything works from there. Just like it used to be in node-inspect
, and the console works!
read this for more information
http://www.mattzeunert.com/2016/06/01/node-v8-inspector-inspect.html
链接地址: http://www.djcxy.com/p/93726.html上一篇: 我如何从Rails 4.2.7.1升级到Rails 5.0.0.1?
下一篇: 不能执行命令,而是转到换行符