EmberDebug refactoring