A terminal debugger for every language: it records every stop, so you can step back and compare runs.
tuitor is a Debug Adapter Protocol client. One terminal program debugs PHP, JavaScript, TypeScript, Go, C, C++, Rust, Zig and Dockerfile builds, using the same adapters as VS Code.
- Uses your
.vscode/launch.json. No new config format. - Records every stop. Step back with
[and], see every variable at every stop, find when a value went wrong. - Breakpoint sets. One set stops the program, the others record and let it run. COMPARE lines up two runs, also across commits.
- Debugs Dockerfile builds and tells you why a step failed.
- Works with your editor. Open the current line in Neovim, Vim, Helix, VS Code, Zed, Emacs, Kakoune, Sublime or JetBrains, and set breakpoints from it. See Editors.
- One ~9 MB binary. No GUI; works over SSH and in tmux.
cargo install tuitor --locked # crates.io
cargo binstall tuitor # prebuilt binary
brew install DorianDevp/tuitor/tuitor # Homebrew
yay -S tuitor-bin # Arch Linux (AUR); tuitor builds from source
nix run github:DorianDevp/tuitor # NixBinaries for Linux and macOS are on GitHub Releases.
From a clone: cargo install --path crates/tuitor.
tuitor runs adapters; it does not bundle them. tuitor doctor shows what is missing and how to fix it.
| language | adapter | install |
|---|---|---|
| PHP | vscode-php-debug + Xdebug 3 | tuitor install php, Xdebug from your distribution |
| JavaScript, TypeScript (Node.js, Chrome) | js-debug | tuitor install js-debug |
| Go | Delve | tuitor install delve |
| C, C++, Rust, Zig | gdb 14+, lldb-dap or CodeLLDB | distribution package, or tuitor install codelldb |
| Dockerfile | BuildKit (docker buildx 0.38+) |
Docker |
Other adapters can be added in adapters.toml. Details: Adapters.
cd examples/go && ./run.sh # or php, js, typescript, web, angular, c, rustf, typemain.go:58,ctrl-b,esc: set a breakpoint.c: run to it.cagain: changed values turn green with▲and the old value.sno: step in, over, out.w: watch a variable.[]: step back and forth through recorded stops.g h: every variable at every stop.?: every command.Q: quit.
On your own code:
tuitor # this directory's project
tuitor "Listen for Xdebug" # a launch configuration by name
tuitor exec ./target/debug/app -- --flag # a native program, through gdb
tuitor listen --map /var/www/app=./api # PHP in Docker, on port 9003
tuitor build api/Dockerfile # a Dockerfile buildGuides: PHP · PHP in Docker · Node.js and TypeScript · Chrome · Go · C, C++, Rust, Zig · Dockerfile
![]() |
![]() |
| HISTORY: every variable at every stop | COMPARE: two runs, value by value |
![]() |
![]() |
| FLOW: the files a run went through | PATHS: call trees through a line |
doriandevp.github.io/tuitor: features, keys, configuration, adapters, comparisons, FAQ and limitations.
Bug reports, adapters and language servers are welcome. See CONTRIBUTING.md.




