Added documentation for debug