Platform
macOS
Reproduction
This bug does not affect debugging in Nova, but it does have a minor affect on debugging in VS Code. The sequence of events leading to the bug can be seen regardless of whether Nova or VS Code is used.
I am inspecting the messages between the client and the Playdate Simulator debugger using sudo tcpdump -i lo0 -A tcp port 55934
.
- Open a Playdate project
- Build the project
- Debug the game using the Playdate Simulator debugger
Expected
As described in the DAP spec:
- The client sends a message:
{ "type": "request", "command": "launch" }
- The server responds with a message:
{ "type": "response", "command": "launch", "success": true }
Actual
- The client sends a message:
{ "type": "request", "command": "launch" }
- The server responds with a message:
{ "type": "event", "event": "initialized" }
- The server never sends a success response to the
launch
request.
The side effect is that the VS Code debugger continues to show a never-ending progress indicator.