Add comment about new debugging options
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Nov 2009 08:40:37 +0000 (09:40 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Nov 2009 08:40:37 +0000 (09:40 +0100)
HACKING

diff --git a/HACKING b/HACKING
index 61b9eb3..444caf5 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -77,7 +77,12 @@ to use "make install" when testing "connmand". The "bootstrap-configure"
 automatically includes this option.
 
   Run daemon in foreground with debugging
-    # sudo ./src/connmand -n -d
+    # sudo ./src/connmand -n -d 'plugins/*'
+
+The debugging option -d takes an argument. This argument can be a comma
+separated list of file names like 'plugins/wifi.c,plugins/ethernet.c' to
+enable debugs in these files. Simple glob style pattern matching is
+supported in this list.
 
 For production installations or distribution packaging it is important that
 the "--enable-maintainer-mode" option is NOT used.