Permalink
Browse files

add a couple tips about debugging configs to the README

  • Loading branch information...
1 parent 4add033 commit d14d8cae780a680d309cb0c2a3bec096ed528ca8 @havocp havocp committed Apr 12, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.md
View
@@ -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.

0 comments on commit d14d8ca

Please sign in to comment.