Skip to content

Commit cb91089

Browse files
Mention --debug flag for trying to identify errors
1 parent 29b332d commit cb91089

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/bug-reports/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ It's more helpful to give as much detail as you can:
2121

2222
> When I run `wp post list`, I see a fatal error about a class being undefined. I expected to see the list of posts.
2323
24+
If you include the `--debug` flag when executing WP-CLI (e.g. `wp post list --debug`), you may get more verbosity into the source of the error.
25+
2426
Your bug may also be environment-specific. Because WP-CLI is a tool whose behavior is different from system to system, it never hurts to include some environmental details in your issue if you think they're relevant.
2527

2628
# What is your system?

0 commit comments

Comments
 (0)