Mojang / minecraft-debugger

VS Code extension that can debug Minecraft TypeScript and JavaScript, as well as display diagnostic information about running content.

Home Page:https://marketplace.visualstudio.com/items?itemName=mojang-studios.minecraft-debugger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reload source maps in the debugger when reloading the script environment

rroman6174 opened this issue · comments

As a Minecraft script developer, I want the VSCode debugger to automatically reload source maps when the game is reloaded using the /reload command so that my breakpoints and other debugging tools continue to work correctly without requiring manual intervention.

Description

Currently, when I use the /reload command in Minecraft, the VSCode debugger does not reload the source maps. This causes breakpoints and other debugging tools to become misaligned or ineffective, which interrupts my workflow and requires me to manually reload the extension.

Acceptance Criteria

  1. Given I have the Minecraft script debugger VSCode extension running and attached to a Minecraft game,
    When I execute the /reload command in Minecraft,
    Then the VSCode debugger should automatically reload the source maps.

  2. Given I have set breakpoints in my script files before executing the /reload command,
    When the source maps are reloaded automatically,
    Then the breakpoints should remain accurate and functional without requiring manual adjustment or extension reload.