debug
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRemote Docker Debugger
远程Docker调试器
Execute commands inside a Docker container from the host using the file-based command relay.
Read for full usage details — it has the protocol and examples.
tools/debugger/CLAUDE.md通过基于文件的命令中继从主机在Docker容器内执行命令。
阅读获取完整使用详情——其中包含协议说明和示例。
tools/debugger/CLAUDE.mdQuick Reference
快速参考
bash
undefinedbash
undefinedCheck connection
检查连接
bash tools/debugger/client.sh status
bash tools/debugger/client.sh status
Connect to server (user must start server.sh in Docker first)
连接到服务器(用户必须先在Docker内启动server.sh)
bash tools/debugger/client.sh handshake
bash tools/debugger/client.sh handshake
Run a command
运行命令
bash tools/debugger/client.sh run "<command>"
bash tools/debugger/client.sh run "<command>"
Long-running command (default timeout is 600s)
长时间运行的命令(默认超时时间为600秒)
bash tools/debugger/client.sh --timeout 1800 run "<command>"
bash tools/debugger/client.sh --timeout 1800 run "<command>"
Cancel the currently running command
取消当前正在运行的命令
bash tools/debugger/client.sh cancel
bash tools/debugger/client.sh cancel
Reconnect after server restart
服务器重启后重新连接
bash tools/debugger/client.sh flush
bash tools/debugger/client.sh handshake
undefinedbash tools/debugger/client.sh flush
bash tools/debugger/client.sh handshake
undefined