Skip to content

Test: sourcemap toggling in js-debug #153408

@connor4312

Description

@connor4312

Test for #151412

Complexity: 2

Create Issue


See the linked issue for background and context.

Toggle state:

  1. Use a project with sourcemaps -- such as js-debug!
  2. Debug something. There should be a 🧭 icon in the title of the call stack view.
  3. 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
  4. The toggle state should be persisted in the workspace across debug sessions/reloads

Behavior of "sourcemaps off"

  1. 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
  2. Hitting a breakpoint or debugger statement should always open you into the correct file based on your mode
  3. Breakpoints set in the source code should be moved into the compiled code when sourcemaps are off, and when they're toggled.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions