closeDebugPanel

Closes the debug panel by calling the showDebugPanelAsync(false) of the DebugPanelService. This may only be called when the debug menu is opened.