Paused in debugger in chrome?

后端 未结 16 2393
小鲜肉
小鲜肉 2020-12-22 21:22

When debugging in chrome, the scripts are always paused in the debugger even if there are no break points set, and if the the pause is un-paused, it again pauses itself.

16条回答
  •  盖世英雄少女心
    2020-12-22 22:11

    If you navigate to Sources you can see the pauseenter image description here button at the bottom of the DevTools. Basically there are 3 possible pause option in DevTools while debugging js file,

    • Don't pause on exceptions(enter image description here) :

      The pause button will be in grey colour as if "Don't pause on exceptions" is active. enter image description here

    • Pause on all exceptions(enter image description here) :

      The pause button will be in blue colour as if "Pause on all exceptions" is active. enter image description here

    • Pause on uncaught exceptions(enter image description here) :

      The pause button will be in purple colour as if "Pause on uncaught exceptions" is active. enter image description here

    In your case, if you don't want to pause, select Don't pause on exceptions. To select, toggle the pause button till it become greyenter image description here.

提交回复
热议问题