All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Killing the simulator on macOS
- Playdate Simulator task
argvoption can send additional args to the Playdate game
libPathPDC option
- Debugger can attach to running games instead of launching them
- pdc error when building a project that uses relative imports
- Prevent accidentally including PlaydateSDK test fixtures in the release bundle
- Increment and save build number before compiling instead of after
- "Run/debug file in Playdate Simulator" command is compatible with Playdate SDK 1.13.5
- Extension can display very large stack traces
- Show error message on windows and linux when Playdate SDK version does not support debugging
- The Linux simulator task correctly handles game paths with spaces
- Extension no longer launches simulator in gnome-terminal on Linux
- Extended default timeout to 10 seconds
- Extension waits for simulator to launch before connecting to debug adapter in SDK 1.13
- Run/debug editor contents command stops running playdate debug sessions
incrementBuildNumberonly outputs keys that are present in the original file
- Clean up correctly after run/debug current file
incrementBuildNumberconfiguration option onpdctask will auto-increment the pdxinfo buildNumber property after each successful buildoutputPathworkspace configuration option can be used to output to/Disk/Gamesfolder in the Playdate SDK
- Run and debug current Lua file as main.lua
- Display error messages from commands and tasks
- Completely disable proxy server when disableWorkarounds is enabled
- Problem matchers correctly match absolute file paths
- Example project links in readme link to project folders
- Support for multi-root workspaces
- Completely disable proxy server for SDK version 1.13.0 or later
- Streamlined quick setup in README
- Check PLAYDATE_SDK_PATH environment variable before checking ~.Playdate/config
- Relative paths in settings.json are now resolved from the workspace root
- Breakpoints are in a verified state
- Only check for ~/.Playdate on macOS
- Automatically disable workarounds in SDK version 1.13.0 and later
- Extension now waits up to 5 seconds to connect by default
- PDC task sends correct CLI flag for skipUnknown setting
- PDC task always sends -sdkpath
- Log task commands before they are executed
- Increased maximum number of retries and retry timeout when attempting to connect to the Playdate Simulator. The extension now waits up to 4 seconds to connect by default.
- Log proxied messages before attempting to decode them
- Fixed an issue where the extension incorrectly decoded debug adapter messages sent from Visual Studio Code v1.73+
- Retry timeout and maximum number of retries are configurable in launch.json
- Increased maximum number of retries when attempting to connect to the Playdate Simulator
- Fix incorrect settings in docs
- Ensure VSCode UI resets when restarting after an exception occurs
pdctask supports strip, no-compress, verbose, quiet and skip-unknown flags
timeoutproperty onpdctask
pdctask compiles to fully-resolved.pdxpath instead of output folder- Account for
pdcbinary path with spaces - @NobleRobot
- README contains link to template project
pdctask no longer requirespdccommand to be in thePATHvariable
disableWorkaroundsproperty on launch configuration to disable workarounds for issues communicating between VSCode and the Playdate Simulator.
logDebugAdapterproperty on launch configuration to log communication between VSCode and the Playdate Simulator
- Fix invalid variable attributes error when debugging
- Fix segmentation fault in
playdate-simulatortask on Ubuntu
pdcandplaydate-simulatortasks log internal errors to the terminal
killproperty toplaydate-simulatorwhich kills running simulator instances before starting a new one
- Extension icon
playdate-simulatortask accepts optionalopenGameparameter
playdate-simulatortask opens the game by default on macOS
- Removed
timeoutproperty onplaydate-simulatortask
- Fix issue where debugger did not stop after Simulator was closed
- Debugger proxy server waits for simulator port before starting
- Fix issue where debugger only connected the first time
- Moved task configuration properties to workspace settings under
playdate-debugsection - Remove waitFor configuration in tasks in favor of simple timeouts
- Workaround bugs in the Playdate Simulator debug adapter protocol by proxying messages to/from VS Code
- Fix simulator task not accepting extra task properties
- Fix simulator task starting before game bundle was created
- Fix uncaught exception when not able to connect to simulator debug port
- pdc task type
- playdate-simulator task type
- fix preLaunchTask not running when using playdate debugger
- Extension attempts to automatically resolve sdkPath, sourcePath and gamePath configuration
- README contains an example launch.json configuration
- Initial debug server adapter