Debugger in Rails Console

I can embed ‘debugger’ statements in my controllers or models, and
this triggers breakpoints when I run my app via the webserver using
‘script/server –debugger’.

However, when I run the app via the console using ‘rdebug script/
console’, the breakpoints are ignored.

Is there a way to cause the ‘debugger’ breakpoints to be recognized
when running the app in the console??

Thanks, Andy

On 20 May 2008, at 18:49, Arco wrote:

I can embed ‘debugger’ statements in my controllers or models, and
this triggers breakpoints when I run my app via the webserver using
‘script/server –debugger’.

However, when I run the app via the console using ‘rdebug script/
console’, the breakpoints are ignored.

Call require ‘ruby-debug’ from the console.

Fred

That worked - many thanks.

On May 20, 12:41 pm, Frederick C. [email protected]