If you are in Edit view and you start debugging it should switch to Debug view,
when you done debugging just hit Continue to finish debugging session and it will switch back to Edit view.
Just like in Visual Studio but I swear it was not switching this morning.