Setting up the debug UI using the ui framework