command
datumhue debug
Wait for an editor (Helix, VS Code, nvim-dap, Zed) to connect over DAP, the Debug Adapter Protocol, and launch a program. The editor names the program; give its filesystem capabilities (--dir, --file) here. The listener accepts any connection, and whatever connects can run any code on this workstation: keep it on the loopback default.
datumhue debug [OPTIONS]| Option | Default | Description |
|---|---|---|
--dap-listen <HOST:PORT> | 127.0.0.1:4711 | Listener address. The default matches the fixed port most editors dial; |
--dir <NAME:PATH> | none | Grant a read-only directory capability ( |
--dir-rw <NAME:PATH> | none | Grant a read-write directory capability ( |
--file <NAME:PATH> | none | Grant a read-only file capability ( |
--file-rw <NAME:PATH> | none | Grant a read-write file capability ( |
--remote-dir <NAME:MOUNT> | none | Grant a read-only directory capability on one of the deployment's filesystem mounts ( |
--remote-dir-rw <NAME:MOUNT> | none | Grant a read-write directory capability on one of the deployment's filesystem mounts ( |
--data-mount <NAME:MOUNT> | none | Grant a read-only data mount capability ( |
--data-mount-rw <NAME:MOUNT> | none | Grant a read-write data mount capability ( |
--http-mount <NAME:MOUNT> | none | Grant an HTTP mount capability ( |
--ingress-mount <NAME:MOUNT> | none | Grant an ingress mount capability ( |
Also takes --aggregator-url and --offline, which every command accepts.