Improve a method "debug"
Improve documentation