How do you launch the JavaScript debugger in Google Chrome?

前端 未结 15 1557
失恋的感觉
失恋的感觉 2020-11-22 03:33

When using Google Chrome, I want to debug some JavaScript code. How can I do that?

15条回答
  •  余生分开走
    2020-11-22 04:19

    Press the F12 function key in the Chrome browser to launch the JavaScript debugger and then click "Scripts".

    Choose the JavaScript file on top and place the breakpoint to the debugger for the JavaScript code.

提交回复
热议问题