Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Lua sourcemaps for debugging #17

Open
SHiLLySiT opened this issue Aug 9, 2024 · 0 comments
Open

Generate Lua sourcemaps for debugging #17

SHiLLySiT opened this issue Aug 9, 2024 · 0 comments
Labels
enhancement New feature for Playbit that isn't a reimplementation of a Playdate SDK API help wanted Seeking external contributors for help

Comments

@SHiLLySiT
Copy link
Collaborator

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.

@SHiLLySiT SHiLLySiT added the help wanted Seeking external contributors for help label Aug 9, 2024
@SHiLLySiT SHiLLySiT added the enhancement New feature for Playbit that isn't a reimplementation of a Playdate SDK API label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature for Playbit that isn't a reimplementation of a Playdate SDK API help wanted Seeking external contributors for help
Projects
None yet
Development

No branches or pull requests

1 participant