chrome's alternative for firebug's evaluation console?

前端 未结 3 1264
深忆病人
深忆病人 2021-01-14 16:34

I\'m using chrome for a new website, and I\'m doing some javascript debugging. One of my favorite techniques to debug nested expressions is to put a breakpoint, enter an exp

3条回答
  •  花落未央
    2021-01-14 17:22

    Ctrl + Shift + I will open Chrome's Developer's Tools. Or (Chrome v9): Options -> Tools -> Developer Tools. Ctrl + Shift + J is a keyboard shortcut for the Javascript console.

    Under the Scripts tab, you can click on the line number to set a breakpoint.

提交回复
热议问题