Javascript debug with chrome, debugged files are "read only"

Version :  Idea 2021.1 Ultimate Edition

When I debug a Javascript project in chrome and add a "line breakpoint", Intellij will systematically open a "read only" version of the file, even if the original file is already opened.
This nearly never happened before version 2021.1

Want can I do so I don't have these "read only files" opened, and have Intellij using my "original" files ?

Comment actions Permalink

This usually means that the debugger can't map actual source files to the runtime version. Are you using sourcemaps, or is the executed code identical to the one being run? In the latter case, providing URL mappings in the JavaScript Debug run configuration may help. See

Comment actions Permalink

That was it, many thanks, as always your answer was very helpful

I just added a few directory mappings.


Please sign in to leave a comment.