[TASK] Refactor debugger console