Files
JoyD/AutoRobot/Windows/Robot/ToDoList.md

12 lines
671 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ToDoList
## 项目调试步骤
- [x] 1. 安装 VS Code 官方 Go 扩展(由 Google 提供)。
- [x] 2. 在 VS Code 左侧点击“运行和调试”图标,点击“创建 launch.json 文件”选择“Go”环境。
- [x] 3. 在生成的 launch.json 中确认 `"program"` 路径指向 main.go。
- [x] 4. 在 main.go 代码中需要调试的位置点击行号左侧设置断点。
- [x] 5. 按 F5 或点击“运行和调试”按钮启动调试。
6. 使用浏览器访问 http://localhost:8805 或 WebSocket 客户端连接 ws://localhost:8805/ws触发断点进行调试。
7. 调试结束后,可在“调试控制台”查看日志和变量信息。