Skip to content

Commit f6b00f4

Browse files
committed
docs
1 parent 37dcf77 commit f6b00f4

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,23 @@ behavior:
138138
- parameters from `params`
139139
- configs are processed last of all
140140

141+
### Debugging
141142

143+
There are several ways to debug config building internals.
144+
145+
- plugin can show detected package dependencies hierarchy - run:
146+
147+
```sh
148+
composer dump-autoload --verbose
149+
```
150+
151+
Can be shortened to `composer du -v`.
152+
153+
- see the list of configs and files that plugin has detected and uses
154+
to build configs: `vendor/hiqdev/composer-config-plugin/output/__files.php`.
155+
156+
- see the assembled configs in
157+
`vendor/hiqdev/composer-config-plugin-output` directory.
142158

143159
## Known issues
144160

docs/readme/Usage.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,23 @@ behavior:
8080
- parameters from `params`
8181
- configs are processed last of all
8282

83+
### Debugging
8384

85+
There are several ways to debug config building internals.
86+
87+
- plugin can show detected package dependencies hierarchy - run:
88+
89+
```sh
90+
composer dump-autoload --verbose
91+
```
92+
93+
Can be shortened to `composer du -v`.
94+
95+
- see the list of configs and files that plugin has detected and uses
96+
to build configs: `vendor/hiqdev/composer-config-plugin/output/__files.php`.
97+
98+
- see the assembled configs in
99+
`vendor/hiqdev/composer-config-plugin-output` directory.
84100

85101
## Known issues
86102

0 commit comments

Comments
 (0)