Generate Lua sourcemaps for debugging #17
Labels
enhancement
New feature for Playbit that isn't a reimplementation of a Playdate SDK API
help wanted
Seeking external contributors for help
The VSCode extension local-lua-debugger-vscode can be used to debug Playbit games. However, only the final Lua files can be debugged, not the original source Lua files. For the most part this isn't an issue, but it would be nice to have support for setting breakpoints in source files, especially for complex build pipelines.
To support debugging source files, Playbit needs to generate sourcemaps.
Playbit relies on the external tool LuaPreprocess to do the processing, however it doesn't support generating sourcemap files. So to accomplish this, we'll likely need to add the functionality directly into LuaPreprocess.
The text was updated successfully, but these errors were encountered: