debug

作者: nvidia

透過基於檔案的指令轉發工具 (tools/debugger) 在遠端 Docker 容器內執行命令。當使用者說「在 Docker 中執行」、「在 GPU 上執行」、「除錯…」時使用。

npx skills add https://github.com/nvidia/model-optimizer --skill debug

Remote Docker Debugger

Execute commands inside a Docker container from the host using the file-based command relay.

Read tools/debugger/CLAUDE.md for full usage details — it has the protocol and examples.

Quick Reference

# Check connection
bash tools/debugger/client.sh status

# Connect to server (user must start server.sh in Docker first)
bash tools/debugger/client.sh handshake

# Run a command
bash tools/debugger/client.sh run "<command>"

# Long-running command (default timeout is 600s)
bash tools/debugger/client.sh --timeout 1800 run "<command>"

# Cancel the currently running command
bash tools/debugger/client.sh cancel

# Reconnect after server restart
bash tools/debugger/client.sh flush
bash tools/debugger/client.sh handshake

來自 nvidia 的更多技能