两个礼拜前在这里分享了用 VS Code Debug Ruby Scripts 的插件。这之后不断地修改代码和添加功能,现在已经可以在 VS Code 里调试 Rails 以及 Remote Debug 了。
现在的功能列表为:
- Ruby scripts debugging
- Line breakpoints (add, delete, disable, enable)
- Step over, step in, step out, continue, pause
- Multiple, parallel threads
- Call stack
- Scope variables
- Debug console
- Watch window
- Variables evaluate/inspect
- Stop on entry
- Breaking on uncaught exceptions and errors
- Attach requests
- Ruby remote debug
- Rails
欢迎大家下载使用,源代码在 GitHub 欢迎指教~