mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 00:32:42 +01:00
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
This commit is contained in:
parent
ce360926b7
commit
ae6661ac3f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
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
|
might have to use fake data, but this gives you an easy way to test the
|
||||||
at least the basics.
|
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 =
|
= Next Steps =
|
||||||
|
|
||||||
Continue by:
|
Continue by:
|
||||||
|
|
||||||
- taking a look at @{class:PhabricatorExampleEventListener}; or
|
- taking a look at @{class:PhabricatorExampleEventListener}; or
|
||||||
- building a library with @{article:@{article:libphutil Libraries User Guide}.
|
- building a library with @{article:libphutil Libraries User Guide}.
|
Loading…
Reference in a new issue