Eric Peterson

December 18, 2017

Spread the word

Share your thoughts

ForgeBox with Santa hat Today let's look at a quick, fun module today. It will make your exception experience in development just a little bit nicer. It's called [`whoops`](


Based off of the PHP package of the same name, whoops is a development exception experience. It shows an interactive stack trace, the code in question with the line highlighted, and some application and request information to help you track down problems in your application.

This is a module that is better told in pictures:

whoops screenshot 1 whoops screenshot 2 whoops screenshot 3

Get Started

It couldn't be easier to get started:

CommandBox> install whoops --saveDev

Happy debugging!

Add Your Comment


Dec 19, 2017 07:00:42 UTC

by Daniel Fredericks

Hey, could you provide a bit more info on it a CB only, or can it run with FW/1, or non-framework code? I guess you cd into your project then install woops? then when you run your code, it will fire off woops in the browser when/if it finds an error, and then brings up the code? Just wondering how to use it beyond just the pics...want to see if it is something for us at work or not... thanks

Dec 19, 2017 18:32:24 UTC

by Eric Peterson

Hi, Dan. This is currently ColdBox only, as it uses the onError interception point. It likely could be extended easily to use the Application.cfc onError lifecycle method.

Recent Entries

Ortus Will be at Adobe CF Summit 2022!

Ortus Will be at Adobe CF Summit 2022!

4 of our Ortusians will be speaking at CF Summit this year from Oct 3 - 4 in Las Vegas, Nevada. Here are all the details you need to join us and enjoy valuable CFML content to modernize your projects! We are sponsoring the event and will have a booth for you to come by and have a chat with our team!

Maria Jose Herrera
Maria Jose Herrera
September 27, 2022
Prefetching in CBWIRE

Prefetching in CBWIRE

When I want to increase the perceived speed of my CBWIRE apps, one tool I reach for is prefetching. Prefetching is a built-in feature of Livewire JS that allows you to invoke an Action's results on mouseOver.

Grant Copley
Grant Copley
September 20, 2022
Into the Box 2022 - Conference Recap

Into the Box 2022 - Conference Recap

This years Into the Box has just wrapped up, but we are already preparing for 2023’s Into the Box, May, Houston Texas! The event was a huge success, we had solid attendance in person, and almost doubled our online viewership from 2021, great feedback from attendees in Houston, and online. So many attendees didn’t say goodbye at the end of the conference, they said see you next year, which, as an organizer lets you know you’ve done things right, and the hard work has paid off.

Gavin Pickin
Gavin Pickin
September 16, 2022