-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Closed
Description
Test for #151412
Complexity: 2
See the linked issue for background and context.
Toggle state:
- Use a project with sourcemaps -- such as js-debug!
- Debug something. There should be a 🧭 icon in the title of the call stack view.
- Clicking the 🧭 should toggle its state to the "sourcemaps off" mode, and additionally when in "sourcemaps off" mode a button should appear in the debug toolbar that also allows toggling them back on
- The toggle state should be persisted in the workspace across debug sessions/reloads
Behavior of "sourcemaps off"
- If you're paused on a line when breakpoints are toggled off or on, you should be automatically moved to the compiled or source code, respectively
- Hitting a breakpoint or debugger statement should always open you into the correct file based on your mode
- Breakpoints set in the source code should be moved into the compiled code when sourcemaps are off, and when they're toggled.
alexdima and hediet