debug: let dbg() be the universal thing to debug.

Therefore, we can use it directly on client objects. In this case, we
get full details.
This commit is contained in:
Vincent Bernat 2012-07-15 17:10:40 +02:00
parent 8e531b9ca1
commit edfc26accf
5 changed files with 111 additions and 102 deletions

View file

@ -53,6 +53,9 @@ Here some of the things you may be interested in:
- Keybindings are "autodocumented". See `lib/keydoc.lua` to see how
this works. The list of key bindings can be accessed with Mod4 +
F1.
- On the debug front, I am quite happy with `dbg()` in
`rc/debug.lua`.
Things in `lib/` are meant to be reused. I am using my own `loadrc()`
function to load modules and therefore, I prefix my modules with