Git Product home page Git Product logo

whoops's Introduction

whoops

A version of whoops is now included in ColdBox 6. All issues for the ColdBox 6 version of whoops should be reported to the ColdBox project. Additionally, whoops is in maintenance mode and intended just for ColdBox 5 and earlier projects.

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.

whoops's People

Contributors

elpete avatar scottsteinbeck avatar daemach avatar jclausen avatar adrian-sanchez avatar gpickin avatar grantcopley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.