Debug console API, refactoring