Skip to content

[docs] Add step-by-step debug tutorial - #2001

Merged
zhuzilin merged 5 commits into
THUDM:mainfrom
liyc-ai:add-debug-tutorial
Jun 1, 2026
Merged

[docs] Add step-by-step debug tutorial#2001
zhuzilin merged 5 commits into
THUDM:mainfrom
liyc-ai:add-debug-tutorial

Conversation

@liyc-ai

@liyc-ai liyc-ai commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

The current debug guide covers precision alignment, separate training/inference debugging, and IMA troubleshooting, but lacks guidance on interactive step-by-step debugging — a common need when developing custom rollout functions or investigating training behavior.

This PR adds a new section "Step-by-Step Debugging with Ray Distributed Debugger" to both docs/en/developer_guide/debug.md and docs/zh/developer_guide/debug.md, covering a tutorial on interactive step-by-step debugging.

liyc-ai added 5 commits June 1, 2026 12:40
Added step-by-step instructions for using the Ray Distributed Debugger, including installation, configuration, and VS Code integration.
Added instructions for using Ray Distributed Debugger for step-by-step debugging.
Added instructions to run the launch script before hitting breakpoints in VS Code.
Clarify instructions for using the Ray Distributed Debugger in VS Code after job submission.
@zhuzilin

zhuzilin commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

This is amazing! Thank you so much!

@zhuzilin
zhuzilin merged commit d3912f4 into THUDM:main Jun 1, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants