I'm trying to debug a problem that is possibly caused by random internet connection interruptions during making multiple AJAX requests, but it's impossible to pinpoint the exact place that causes trouble. In Chrome dev tools you can toggle "Offline" checkbox to simulate no internet connection, but you need to do this manually. Is there any tool that would allow me to either cause the connection to turn on and off randomly or to define programmatically when to turn it on and off (e.g. at some interval)?
Aucun commentaire:
Enregistrer un commentaire