node.js - webstrom调试nodejs,代码为何在断点处没有停止运行?
PHPz
PHPz 2017-04-17 13:47:43
0
3
687

在webstrom中给按钮点击代码上添加了断点,然后在谷歌浏览器中访问页面,点击提交按钮,webstrom上在断点位置并没有停止,页面直接提示提交成功

webstrom断点设置如下图所示:
程序在257行并没有停止运行,无法在webstrom中调试

html代码如下图所示

PHPz
PHPz

学习是最好的投资!

reply all(3)
阿神

The front-end code is parsed and processed by the browser. You can find your code and corresponding lines in Chrome Sources, add a BreakPoints, or use the debugger directly in the code to block debugging with breakpoints.
The method you use can be used for Node.js development.

刘奇

Please use chrome’s breakpoint debugging tool for front-end js

Ty80

This is front-end code. This needs to be debugged in the browser! Cannot be debugged through node’s debugger mode

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