Skip to content

Feature Request: add an option to restart the listener when Minecraft disconnects #317

@LyraelRayne

Description

@LyraelRayne

Please add an option (presumably in launch.json) to allow the debug listener to restart itself when the Minecraft client detaches itself. Currently whenever I have to save and quit in order to pick up JSON changes, I then need to open VS Code and start the debugger again every time because disconnecting closes the debugger which is cumbersome to have to do repeatedly.

The ideal workflow would be:

  1. Start debugger in VSCode
  2. Load a world with the addon installed and Attach Debugger on Load
    1. Debugger automatically connects
  3. Change JSON
  4. Save and quit
    1. Minecraft disconnects from the debugger
    2. Debugger restarts itself (or keeps running, if that's possible)
  5. Load the world again
    1. Debugger automatically connects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions