[JavaScript Debugger] WEB-69992 Add description for registry flags

(cherry picked from commit 481763eb51ea5299542ecf66648f17a1498795a6)

IJ-CR-148095

GitOrigin-RevId: f526a39c6709f1eba4c036549eeb7cb675395fb2
This commit is contained in:
Shumaf Lovpache
2024-10-29 16:28:44 +02:00
committed by intellij-monorepo-bot
parent 9df9e519d1
commit f82fa8f94a

View File

@@ -190,6 +190,7 @@ private fun parseMap(reader: JsonReaderEx): SourceMapDataImpl? {
return null
}
// https://stackoverflow.com/questions/36228177/jspm-system-js-debugging-with-typescript
if (Registry.`is`("js.debugger.fix.jspm.source.maps", false) && encodedMappings.startsWith(";") && file != null && file.endsWith(".ts!transpiled")) {
encodedMappings = encodedMappings.substring(1)
}