To test, open DevTools, right-click on the hidden folder and add it to the ignore list, enable the relevant break settings, and click a button below.
Scenarios
- Stepping:
- Exceptions:
- Uncaught:
- Caught:
- Trusted types:
- Pausing or Event Handlers
Set a mouse click event handler breakpoint or press pause and then click:
- DOM Breakpoints
Set a DOM breakpoint for subtree modifications on the following sentence:
Break on me.
Then click:
- (Also an interesting event handler/pause case.)
- XHR/fetch Breakpoints
Set a XHR/fetch breakpoint for urls including the text "ignoreme", then click:
- debugger statement: