Install the 'open in browser' extension in vs code. Right click inside the editor. Click on open in default browser.