Skip to content

Debug80 Book 1 — Getting started102

Appendix B — Command reference

This appendix lists the Debug80 commands. The Command Palette opens with Shift-Command-P on macOS or Shift-Control-P on Windows and Linux; typing part of a title filters the list.

Projects and workspace folders

CommandDoes
Debug80: Create ProjectWrites debug80.json, asking for a profile kit and a program file. Offers all five kits; the panel's Platform dropdown takes only the default kit for a platform.
Debug80: Select Workspace FolderChooses which open folder Debug80 is working on.
Debug80: Add Workspace FolderAdds a folder to the workspace and offers to initialize it.
Debug80: Remove Workspace FolderRemoves a folder from the workspace. The folder stays on disk.
Debug80: Configure ProjectSteps through project-level settings.

Targets

CommandDoes
Debug80: Select Active TargetChooses which target Build and Run act on.
Debug80: Add TargetAdds a target from an eligible program file.
Debug80: Remove TargetRemoves a target. Source files and build output stay on disk.
Debug80: Set Program FilePoints a target at a file. Explorer and editor context menus only, on .asm, .z80 and .glim files.

Building and running

CommandDoes
Debug80: Build Current TargetAssembles without launching.
Debug80: Run Current TargetBuilds and starts the emulator, restarting any running session.
Debug80: Start DebuggingStarts the selected target, leaving any active debug session running.
Run to HereRuns until execution returns to the selected frame. Call Stack context menu only.

Source and diagnostics

CommandDoes
Debug80: Search Workspace SymbolsSearches the active target's symbols.
Debug80: Open Source FileOpens a source file known to the current build.
Debug80: Open Auxiliary SourceOpens monitor ROM source. Needs an active session.
Debug80: Show Source Map StatusReports whether the source map is current, and what it covers.
Debug80: Copy Project Status (JSON)Copies the panel's whole view of the project to the clipboard as JSON.

Panel and hardware

CommandDoes
Debug80: Open Debug80 ViewReveals and focuses the panel.
Debug80: Reset Panel LayoutRestores the default section order and open state on the TEC-1 and TEC-1G panels.
Debug80: Test CoolTerm ConnectionPings CoolTerm's remote socket. Runs on an unbuilt project and leaves the serial port closed.
Debug80: Send HEX to Board via CoolTermSends the active target's HEX file to a board.
Debug80: Copy Monitor ROM into ProjectCopies the bundled monitor ROM source into the project.