I'm not a dev so I dont know how anything works, I barely know how to use tools that I play with.
I dont fully understand source mapping and I've never used it, but from what I've read, if source mapping is implemented you can use it to download the source files for debugging, but how can you debug if there is no way to make your changes visible in the browser? Unless I am completely misunderstanding what source mapping is supposed to do, which wouldnt surprise me.
Chrome has the ability to right click a network request, and 'Override Content', IE you can modify a response from a server for testing. This is already very helpful for chrome, would be nice in Firefox too
Here is the docuentation overrides in Chrome, it seems to me a very useful feature in cases where you don't have access to the backend or you don't want to deploy.
Enhancing the support for local files override is on our 2025 Roadmap
Currently, local file override support is available in the Debugger panel. To use it, you can right-click on a source file, choose "Add script override," and select a local JavaScript file to replace the one downloaded from the server.
Planned enhancements will expand this functionality to the Network panel, enabling the override of any server-side resource—not just JavaScript files.
@HonzaCan you provide any further documentation of this feature?
I am unable to get it to work, so I want to make sure I am following the right steps. I managed to get the purple dot signaling an override, but my local file, which I edited, is not being used.