Improve command registration debug messages