I added that to the configurations in lunch.json
"args": [ "--web-browser-flag=--disable-web-security" ]