How do you launch the JavaScript debugger in Google Chrome?

前端 未结 15 1374
失恋的感觉
失恋的感觉 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:24

    To open the dedicated ‘Console’ panel, either:

    • Use the keyboard shortcuts
      • On Windows and Linux: Ctrl + Shift + J
      • On Mac: Cmd + Option + J
    • Select the Chrome Menu icon, menu -> More Tools -> JavaScript Console. Or if the Chrome Developer Tools are already open, press the ‘Console’ tab.

    Please refer here

提交回复
热议问题