Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added debugger settings to documentation #59

Merged
merged 1 commit into from
Nov 4, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,25 @@ FatListener::appStartup
SlimListener::slowStartup
```

Debugging
---------

Kdyby\Events comes with integrated panel for Nette\Tracy, which makes it easier to debug your application. The panel contains dispatch tree, list of dispatched events and lists of registered events and registered listeners.

However, if you don't want to use it, you can disable the whole panel in your config.neon.

```yml
events:
debugger: on # off
```

Or you can disable it's categories.

```yml
events:
debugger: # these are the default values
dispatchTree: off
dispatchLog: on
events: on
listeners: off
```