Add section on debugging.
Merge pull request #492 from dpandiar/wqdoc

Add section on debugging.