uses('debugger');
And now you get all the data you need when something goes wrong, and right within your browser.
One thing that is lacking though, that I would really like to see, is the option to output the debugging results to a log file instead. As outputting to the browser can be very messy. I have already opened a ticket with this suggestion, so hopefully the core team will add that.
This site contains the musings of Joel Moss, and is powered by Codaset pages; a simple, yet powerful way to host your static site. Just commit and push your site to your free Git repository at Codaset, and that's it!
Tell me more about Joel »Related Articles...
- Dynamic Form and Dynamic Errors for Rails 3
- Handling Dates in MongoDB
- Converting HTML Entities to Characters with Javascript
- jQuery UI Autocomplete and Caching Query Results
- Trigger Javascript Events after Binding with jQuery
- Tail your Logs with a Touch of Color
- Introducing [Baby] Mario: Content Management Made Easy
- Taking this Blog to a better Place.
- Easily Manage your Local Hosts with Ghost
- I finally did it! My own Web Development Podcast
