Chrome JavaScript Debugging - how to save break points between page refresh or break via code?

前端 未结 8 765
情深已故
情深已故 2021-01-31 06:46

When using Chrome and it\'s JavaScript debugger, every time I reload my page / scripts, my breakpoints are lost and I have to go find the script file in the pop-up, find the lin

8条回答
  •  猫巷女王i
    2021-01-31 07:27

    You can use the debugger; statement in your source to make the debugger break there.

提交回复
热议问题