When you do not see “Immediate” window under Debug menu of Visual Studio you may get frustrated. But there is a quick way to get it when required,
Go to View > Other Windows > Command Window or press Ctrl+W, A
Then type immed. It will bring the Immediate Window.
And inside the Immediate Window if you type cmd it will bring the Command Window back again.