mirror of
https://github.com/lightbend/config.git
synced 2025-01-28 21:20:07 +08:00
add a couple tips about debugging configs to the README
This commit is contained in:
parent
4add0330d8
commit
d14d8cae78
@ -389,6 +389,15 @@ newlines separating the numbers.
|
||||
|
||||
See the spec for full details on concatenation.
|
||||
|
||||
## Debugging
|
||||
|
||||
If you have trouble with your configuration, some useful tips.
|
||||
|
||||
- Set the Java system property `-Dconfig.trace=loads` to get
|
||||
output on stderr describing each file that is loaded.
|
||||
- Use `myConfig.root().render()` to get a `Config` printed out as a
|
||||
string with comments showing where each value came from.
|
||||
|
||||
## Future Directions
|
||||
|
||||
Here are some features that might be nice to add.
|
||||
|
Loading…
Reference in New Issue
Block a user