Doc comments and code style for 'debug' extension adjusted