vscode-firefox-debug
vscode-firefox-debug copied to clipboard
Obfuscated variables are not made readable using the available inline source map
Obfuscated variables are not made readable using the available inline source map.
With pathMappings configured, breakpoints in VSCode work, but the variables values aren't visible in the editor on mouse hover, and the "variables" pane in the "run and debug" pane only shows the obfuscated variables without any useful names.
maybe I'm doing something wrong?
{
"name": "Launch WebExtension",
"type": "firefox",
"request": "launch",
"reAttach": true,
"keepProfileChanges": true,
"profile": "my-project",
"addonPath": "${workspaceFolder}/dist/my-project/browser",
"reloadOnChange": {
"watch": "${workspaceFolder}/dist/my-project/browser/**/*"
},
"pathMappings": [
{
"url": "webpack:///",
"path": "${workspaceFolder}/src"
},
{
"url": "moz-extension://*/src",
"path": "${workspaceFolder}/src"
}
]
}