Skip to content

Debug tool

Debug tool (top right of the toolbar) builds, tests and runs the project in the work folder. It looks for marker files in the folder and two levels below; nothing from the project is run during detection. The chosen action runs as one line in a terminal tab of the bottom Terminal panel.

Debug tool with the scripts of a Node project

Control What it does
Project The folder; Folder… picks another one, refresh detects again.
Language chips Every detected language. build & run = actions available; detected = recognised only.
Action list Grouped by folder (Node . (shop-api)), with the source of the action. The heart pins an action to the top (localStorage debugtool-favorites).
Command + Copy The exact line that will run. Ctrl+C in the tab stops it.
Warnings E.g. which runner was chosen and why, missing tools, missing node_modules, that an install runs package scripts.
Run Opens the run tab.
Language Actions Command line
Rust Check, Build, Build release, Test, Clippy, Run (per binary) cargo check, cargo build, cargo build --release, cargo test, cargo clippy --all-targets -- -D warnings, cargo run --bin <name>; cargo from ~/.cargo/bin, /opt/homebrew/bin, /usr/local/bin
Tauri app Install dependencies (only without node_modules), Run dev, Build app <runner> install, <runner> tauri dev, <runner> tauri build (bundle under target/release/bundle)
Node one action per script of each package.json <runner> run <script>; runner from the lockfile: pnpm-lock.yaml → pnpm, yarn.lock → yarn, bun.lock(b) → bun, package-lock.json or none → npm
Go Build, Test, Vet, Run (package main) go build ./..., go test ./..., go vet ./..., go run .
Python Install dependencies, Test, Run server (Django) uv: uv sync, uv run pytest; Poetry: poetry install, poetry run pytest; otherwise .venv: Create .venv (python3 -m venv .venv), .venv/bin/python -m pip install -r requirements.txt (or -e .), .venv/bin/python -m pytest; Django: … manage.py runserver
PHP Install dependencies, composer scripts, Test, Laravel artisan test, Run server composer install, composer run-script <name>, phpunit, php artisan test, php artisan serve

Detected only: Deno, JVM, Ruby, .NET, Swift, C/C++, Elixir, Dart, Docker.

Every line starts with cd <folder> && . Script names are typed into the terminal only when they consist of letters, digits and : . _ -; others are listed as skipped.

When the project is KryoDesk itself, a warning says that the dev build uses the same configuration folder and the same vault as the installed app.

The line runs as <line>; exit, so the tab’s session ends with the exit code of the command. The bar above the terminal:

Control What it does
Command The line, with copy.
Exit code chip Shown when the run ended.
Stop Ctrl+C, then SIGTERM, then SIGKILL, 3 s apart. Signals go only to the terminal’s foreground process group and the shell’s group.
Run again After the run ended.
Restart Stop, then run again. If the run does not end after all three signals, the restart is cancelled with a message.
Install to /Applications After Build app ended with exit code 0.

Install to /Applications:

  1. KryoDesk finds the .app the build produced (Rust decides, not the page).
  2. When a copy is installed, Replace …? shows installed and new version and bundle identifier. A different bundle identifier asks once more (Replace Another App).
  3. /usr/bin/ditto copies the bundle under a hidden temporary name in /Applications.
  4. /usr/bin/codesign --verify checks the copy; a failure is logged and the install continues (macOS may then refuse to open the app or ask again for permissions).
  5. The old copy goes to the macOS Trash (restorable) and the new one is renamed into place without replacing anything (RENAME_EXCL).

Writing to /Applications needs an administrator account (group admin); otherwise the error says who owns the folder.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close