开发者

How to run the rails console in debug mode in Aptana Radrails

开发者 https://www.devze.com 2022-12-22 17:51 出处:网络
In Apatana Rad Rails, I want to run the rails console in debug mode. When I launch the debugger as shown below, debugger doesn\'t honor the break points.

In Apatana Rad Rails, I want to run the rails console in debug mode. When I launch the debugger as shown below, debugger doesn't honor the break points.

debug script/console

I am able to run th开发者_高级运维e rake tasks in debug mode by giving a similar command, i.e.

debug rake db:migrate 

Any pointers will be highly appreciated.


Seems like you're running RadRails 2. You might be able to get it to work correctly by right-clicking the script/console file and choosing Debug As > Ruby Application. The "Rails console" had some special hacks and contortions to handle commands like "debug rake ...", but under the hood it's doing the same as the Debug As action above and then tying the input/output to the console view.

0

精彩评论

暂无评论...
验证码 换一张
取 消