-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Closed
microsoft/vscode-js-debug
#1306Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplan
Milestone
Description
@jrieken wanted the ability to easily disable sourcemaps in js-debug, and mentioned @alexdima and @bpasero also like debugging without sourcemaps. However, changing this in the launch config via sourceMap: true/false
is burdensome and makes the decision for the whole team, where it should be a user choice.
He suggested a some button (an editor action? is that too prominent?) to toggle sourcemaps on off.
- The button should remember its state in the workspace between reloads
- Breakpoints should always be allowed to be set in the source code, but appear in (be moved to, since BPs can only appear in one location) the compiled code when sourcemaps are disabled, and should show in the source code otherwise.
- Therefore in this mode, we don't fully "disable sourcemaps", more just control where the debugger steps in
- However we can optimize some things and be extra-lazy about parsing sourcemaps when "disabled"
alexdima
Metadata
Metadata
Assignees
Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplan