Skip to content

Conversation

@joksnet
Copy link
Contributor

@joksnet joksnet commented Oct 17, 2014

This PR adds a new debug parameter to the application that will be injected into ExceptionHandler. If in debug mode, exception handlers will not be called, but instead a nice formatted page will be shown:

Debugging Page

Let me know what you think.

jm42 added 3 commits October 16, 2014 14:25
Something like this should be fine:

```php
$app = new \Cicada\Application(array('debug' => true));
```
This will be injected into the exception handler so, when in debug mode
and an exception is raised, it can be catched and display a nice page
with more information.
Exception are catched and if in debug mode, will not call the
subscripted handlers but generate a nice page showing the exception
instead.
@coveralls
Copy link

Coverage Status

Coverage decreased (-30.25%) when pulling d602b4b on joksnet:debug into 6b4ed2b on cicada:develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.41%) when pulling 0e6f143 on joksnet:debug into 6b4ed2b on cicada:develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.41%) when pulling 40cdc35 on joksnet:debug into 6b4ed2b on cicada:develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants