How do you launch the JavaScript debugger in Google Chrome?

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

    Windows and Linux:

    Ctrl + Shift + I keys to open Developer Tools

    Ctrl + Shift + J to open Developer Tools and bring focus to the Console.

    Ctrl + Shift + C to toggle Inspect Element mode.

    Mac:

    + + I keys to open Developer Tools

    + + J to open Developer Tools and bring focus to the Console.

    + + C to toggle Inspect Element mode.

    Source

    Other shortcuts

提交回复
热议问题