Editing search.js in chrome

I’m trying to test a small change to search.js in chrome without routing javascript. Normally I’m able to edit javascript files without much of a problem in the chrome dev tools, but for some reason when I try to save search.js, the debugger crashes and I’m forced to reload my page, losing my changes. I’ve tried other js files in the same window and they’re working fine. I’ve also tried editing while I’m sitting on a breakpoint and experienced the same problem. Is it just impossible to edit search.js since so many elements rely on it?