Blog

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`](https://www.forgebox.io/view/whoops).

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

(2)

Dec 19, 2017 07:00:42 UTC

by Daniel Fredericks

Hey, could you provide a bit more info on this...is 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

ColdBox 7.2.0 Released

ColdBox 7.2.0 Released

ColdBox, a widely used development platform for ColdFusion (CFML), has unveiled version 7.2. Packed with compelling new features, bug fixes, and enhancements, this release is designed to empower developers by boosting productivity, refining scheduled task capabilities, and enhancing the overall reliability and efficiency of application development. This article will delve into the key highlights of ColdBox 7.2 and elucidate how these advancements can positively impact developers in their daily coding endeavors.

Luis Majano
Luis Majano
November 20, 2023
Into the Box 2023 Series on CFCast

Into the Box 2023 Series on CFCast

Excitement is in the air as we unleash the highly anticipated ITB 2023 series exclusively for our valued CFCast subscribers – and the best part? It's FREE for CFCast members! Now is the perfect time if you haven't joined the CFCast community yet. Plus, we've got an incredible End-of-Year deal that's too good to miss

Maria Jose Herrera
Maria Jose Herrera
November 20, 2023
Ortus Deals are Finally Here!

Ortus Deals are Finally Here!

The much-anticipated Ortus End-of-the-Year Sale has arrived, and it's time to elevate your development experience! Whether you're a seasoned developer, a tech enthusiast, or someone on the lookout for top-notch projects, Ortus has something special in store for you. Brace yourself for incredible discounts across a wide array of products and services, including Ortus annual events, books, cutting-edge services, and more.

Maria Jose Herrera
Maria Jose Herrera
November 15, 2023