Rails Debugging
Easy peasy once you know how.
- start up your server with the
-u - put
debuggerin your code where you want the debugger to start - run that code e.g. in a web browser
The web browser will hang, and a debugging session will be started in the terminal you ran the server. Main things to remember are
hget helpllist the code where you arereloadif debugger doesn't pick up changes in your code give it a little kickcontcarry on execution
That should be enough to keep me happy