I want to cancel the ajax request from chrome developer tools
after it has initiated. For example I want to test my fallback message is showing correctly. I can set No throttling
to Offline
so that all calls will fail, but I just want to test one API
to fail, for debugging purposes.
I know I can use abort()
methods, (ie I can do it through JavaScript). I dont want to touch the code for just this need.
There's a replay XHR
option in right click of the API, It'll be great there is something like abort XHR
in same way. But there isn't.