使用 Chrome 进行 Webstorm 调试?
我无法在 Chrome 中进行调试。我将其设置为默认浏览器,但当我尝试调试时,我在“调试器”窗口中看到“正在连接到 127.0.0.1:7930”,但没有任何反应(Chrome 不会弹出或任何其他内容)。我不知道如何解决这个问题......有什么想法吗?
I am unable to debug at al in Chrome. I set it as my default broswer but when I try to debug, I see Connecting to 127.0.0.1:7930 in the Debugger window, but nothing happens (Chrome doesn't popup or anything). I have no idea how to trouble shoot this....any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您不熟悉,并且相信我值得一试...另一种选择是使用 Chrome 开发者工具 内置于浏览器
您可以调试 javascript(添加断点并单步执行、查看变量),编辑 css 并查看实时修改并将更改保存回文件系统。它还具有您所做更改的修订历史记录,并且您可以恢复到任何版本!您可以将这些 Chrome 开发人员工具与免费的 Netbeans IDE 结合使用,您可以在其中创建 HTML、CSS 和 HTML、CSS 等。 Javascript 具有出色的代码提示/完成功能并支持 Jquery。您还可以添加插件来添加更多功能。
If you are not familiar with, and believe me its worth checking out...another alternative is to use the Chrome developer Tools Built into the browser
You can debug javascript (add breakpoints and step into over, view variables), edit css and see your modifications in real time and save changes back to your file system. It also has a revision history for changes you make and you can revert back to any version! You can use use these Chrome developer tools in conjunction with the free Netbeans IDE where you can create your HTML, CSS & Javascript which has excellent code hinting / completion with Jquery support. You also add plugins to add more functionality.
好吧,我不知道到底如何让 Webstorm 使用 Chrome 进行调试,而且他们的支持非常有限。因此,作为一种解决方法,可能更好的方法是使用 Eclipse 和 Chrome 开发工具,因为它是免费的。
您可以调试服务器上的所有 JavaScript 文件并设置断点。我在调试时还没有逐步完成,但这看起来很有希望。您也可以使用 Eclipse 来开发相应的 HTML 和 css 文件,或者与同样免费的 Netbeans 结合使用。如果您已经熟悉 Eclipse,那么非常简单:
带有 Chrome 开发者工具的 Eclipse
Well I could not figure out how the heck to get Webstorm to debug with Chrome and their support is extremely limited. So as a workaround and what may be better because its free , is use Eclipse with Chrome Developer tools.
You are able to debug all the JavaScript files on your server and set breakpoints. I haven't stepped through while debugging, but this seems very promising. You could use Eclipse as well for the development of your corresponding HTML and css files or use in conjunction with Netbeans which is also free. Very straightforward if you are familiar with Eclipse already:
Eclipse with Chrome Developer Tools