我知道如何在调试模式下运行Rails服务器(例如,使用script / setver --debugger的示例),但是如何调试位于脚本目录中的脚本?
ruby -d path / to / script [--options ...]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.