FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

whoops

v2.2.0 Public

whoops

Interactive debugger for exceptions in CFML

Blatantly copied from https://filp.github.io/whoops/ (Thank you!)

Install

box install whoops --saveDev

Usage

The module will register itself as the customErrorTemplate regardless of the environment. For this reason, make sure you install whoops as a devDependency.

Alternatively, you can manually set your coldbox.customErrorTemplate to the path to /whoops/views/whoops.cfm from your application root.

coldbox.customErrorTemplate = "/modules/whoops/views/whoops.cfm";

You can open files in your editor directly from the Whoops template by setting a WHOOPS_EDITOR environment variable. Here are the allowed values:

  • vscode
  • vscode-insiders
  • sublime
  • textmate
  • emacs
  • macvim
  • idea
  • atom
  • espresso

When setting a valid editor, an "Open" button will appear next to the active stacktrace pane.

If you'd like to add an editor, please open a Pull Request adding your editor's url scheme to the top of views/whoops.cfm.

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
2.2.0 Mar 24 2020 11:03 AM Mar 24 2020 11:03 AM
Version History
2.1.3 Mar 23 2020 01:55 PM Mar 23 2020 01:55 PM
2.1.2 Mar 23 2020 10:06 AM Mar 23 2020 10:06 AM
2.1.1 Mar 21 2020 01:23 AM Mar 21 2020 01:23 AM
2.1.0 Mar 21 2020 01:21 AM Mar 21 2020 01:21 AM
2.0.2 Jun 16 2017 07:43 AM Jun 16 2017 07:43 AM
2.0.1 Jun 15 2017 12:27 PM Jun 15 2017 12:27 PM
2.0.0 Jun 14 2017 09:43 AM Jun 14 2017 09:43 AM
1.1.0 Jun 13 2017 04:29 PM Jun 13 2017 04:29 PM
1.0.1 Jun 13 2017 03:48 PM Jun 13 2017 03:48 PM
1.0.0 Jun 13 2017 03:03 PM Jun 13 2017 03:03 PM

 

$ box install whoops

No collaborators yet.
     
  • Jun 13 2017 03:03 PM
  • Mar 24 2020 11:03 AM
  • 1,302
  • 0
  • 130