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.
.vscode/launch.json. No new config format.[ and ], see every variable at every stop, find when a
value went wrong.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 # Nix
Binaries 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, rust
f, type main.go:58, ctrl-b, esc: set a breakpoint.c: run to it. c again: changed values turn green with ▲ and the old value.s n o: 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 build
Guides: 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.