How to terminate script execution when debugging in Google Chrome?

后端 未结 11 1165
傲寒
傲寒 2020-12-07 08:16

When stepping through JavaScript code in Google Chrome debugger, how do I terminate script execution if I do not want to continue? The only way I found is closing the browse

11条回答
  •  旧巷少年郎
    2020-12-07 09:17

    You can pause on any XHR pattern which I find very useful during debugging these kind of scenarios.

    For example I have given breakpoint on an URL pattern containing "/"

提交回复
热议问题