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

Run and debug current Lua file #8

Merged
merged 10 commits into from
Nov 21, 2022
Merged

Run and debug current Lua file #8

merged 10 commits into from
Nov 21, 2022

Conversation

midouest
Copy link
Owner

@midouest midouest commented Nov 21, 2022

Closes #1

Adds a button and dropdown menu with "Run file in Playdate Simulator" and "Debug file in Playdate Simulator" commands to the editor titlebar. Both options will execute the current Lua file in the Playdate Simulator as if it were main.lua. The "Debug file in Playdate Simulator" option allows setting breakpoints.

Screenshot 2022-11-20 at 9 47 38 PM

TODO

  • Launch Playdate Simulator before starting debugger
  • Create a psuedoterminal for pdc/simulator output

@midouest midouest merged commit 71ad992 into main Nov 21, 2022
@midouest midouest deleted the run-editor-contents branch November 21, 2022 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is it possible to make it run/debug a selected main.lua?
1 participant