pry byebug:Pry中的逐步调试和堆栈导航 源码
撬by 添加了逐步调试和堆栈导航功能,以使用。 要使用,请正常调用撬。 无需以其他方式启动脚本或应用。 在binding.pry之后,执行将在第一条语句中停止。 def some_method puts 'Hello World' # Run 'step' in the console to move here end binding . pry some_method # Execution will stop here. puts 'Goodbye World' # Run 'next' in the console to move here. 要求 MRI 2
下载地址
用户评论