Skip to content

Commit 81fd6ce

Browse files
committed
log docs
1 parent 4932ba3 commit 81fd6ce

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/cli/logging.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ In debug/trace mode, context objects are displayed:
7272
| `SFCC_LOG_COLORIZE` | Force colors on/off |
7373
| `SFCC_REDACT_SECRETS` | Set to `false` to disable secret redaction |
7474
| `NO_COLOR` | Industry standard to disable colors |
75+
| `DEBUG` | Set to `oclif*` for CLI framework debug logs |
76+
77+
### CLI Framework Debugging
78+
79+
For low-level debugging of the CLI parser and command loading, use the oclif debug flag:
80+
81+
```bash
82+
DEBUG=oclif* b2c code deploy
83+
```
84+
85+
This outputs internal oclif framework logs, useful for troubleshooting command resolution, plugin loading, and argument parsing issues.
7586

7687
## Output Streams
7788

0 commit comments

Comments
 (0)