在webstrom中给按钮点击代码上添加了断点,然后在谷歌浏览器中访问页面,点击提交按钮,webstrom上在断点位置并没有停止,页面直接提示提交成功
webstrom断点设置如下图所示:
程序在257行并没有停止运行,无法在webstrom中调试
html代码如下图所示
阿神2017-04-17 13:49:43
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.
PHP中文网2017-04-17 13:49:43
This is front-end code. This needs to be debugged in the browser! Cannot be debugged through node’s debugger mode