In my case the problem arises when I accidentally hided the run button. But then the answer from andersonweeks did not work as the 'Run and Debug' option was not showing up.
My solution was to install/re-install the 'code runner' extension from Jun Han.