From ae6661ac3f0698a03eb4eda71585c5eeb09c0c4d Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 5 Jul 2012 16:03:49 -0700 Subject: [PATCH] Document event --trace added by D2918 Summary: Also fix a doc typo. Test Plan: Read. Reviewers: btrahan, jungejason Reviewed By: btrahan CC: aran Maniphest Tasks: T1092 Differential Revision: https://secure.phabricator.com/D2919 --- src/docs/userguide/events.diviner | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/docs/userguide/events.diviner b/src/docs/userguide/events.diviner index 64c11e51fc..3ca182fe96 100644 --- a/src/docs/userguide/events.diviner +++ b/src/docs/userguide/events.diviner @@ -206,10 +206,12 @@ If you're having problems with your listener, try these steps: events instead, to test that your listener reacts to them properly. You might have to use fake data, but this gives you an easy way to test the at least the basics. + - For scripts, you can run under `--trace` to see which events are emitted + and how many handlers are listening to each event. = Next Steps = Continue by: - taking a look at @{class:PhabricatorExampleEventListener}; or - - building a library with @{article:@{article:libphutil Libraries User Guide}. \ No newline at end of file + - building a library with @{article:libphutil Libraries User Guide}. \ No newline at end of file