switchToController method
Switch DevTools to a specific controller (called when controller is attached)
Implementation
void switchToController(WebFController controller) {
// Check if we have a context for this controller
final context = _controllerToContext[controller];
if (context != null && _contextServices.containsKey(context)) {
// For controller attach, don't clear DOM - just switch to new context
_selectContextWithoutClear(context);
}
}