Chrome debugging - break on next click event

后端 未结 1 1317
生来不讨喜
生来不讨喜 2020-11-30 17:34

We have a button. Click events are handled by a 3rd party framework, however, the framework is buggy somehow.

We want to debug the framework, however, we don\'t know

相关标签:
1条回答
  • 2020-11-30 17:51

    What you are looking for are 'Event Listener Breakpoints' on the Sources tab. These breakpoints are triggered whenever any event listener, that listens for chosen event, is fired. You will find them in the Sources tab. In your case, expand 'Mouse' category and choose 'Click'.

    DevTools Event Listener Breakpoints

    0 讨论(0)
提交回复
热议问题