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:
- Start debugger in VSCode
- Load a world with the addon installed and
Attach Debugger on Load
- Debugger automatically connects
- Change JSON
- Save and quit
- Minecraft disconnects from the debugger
- Debugger restarts itself (or keeps running, if that's possible)
- Load the world again
- Debugger automatically connects