[FOLLOWUP][TASK] Refactor debugger console