enable "StackTrace", force => 1;
Force display the stack trace when an error occurs within your application and the response code from your application is 500. Defaults to off.
The use case of this option is that when your framework catches all the exceptions in the main handler and returns all failures in your code as a normal 500 PSGI error response. In such cases, this middleware would never have a chance to display errors because it cant tell if its an application error or just random eval in your code. This option enforces the middleware to display stack trace even if its not the direct error thrown by the application.
enable "StackTrace", no_print_errors => 1;
Skips printing the text stacktrace to console (psgi.errors). Defaults to 0, which means the text version of the stack trace error is printed to the errors handle, which usually is a standard error.
Devel::StackTrace::AsHTML Plack::Middleware Plack::Middleware::HTTPExceptions
|perl v5.20.3||PLACK::MIDDLEWARE::STACKTRACE (3)||2015-06-03|