Created
November 28, 2023 22:34
-
-
Save avernet/578fd47383aff254d6d023c649813938 to your computer and use it in GitHub Desktop.
Breaking on calls to `fetch()`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
const originalFetch = window.fetch; | |
window.fetch = function(...args) { | |
debugger; | |
return originalFetch.apply(this, args); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment