microsoft / vscode-makecode

A vscode.dev compatible extension for Microsoft MakeCode
MIT License
33 stars 6 forks source link

Unable to run simulator when accessing via insiders.vscode.dev or https://insiders.vscode.dev/makecode #161

Open ethansTJ opened 1 year ago

ethansTJ commented 1 year ago

I came across a link suggesting to use https://insiders.vscode.dev/makecode to play with the experience and discovered that the simulator wasn't launching nor was the "build for hardware" working. After fighting it a while I tried installing the extension in regular https://vscode.dev and the simulator worked as did the build for hardware. It appears maybe it is a CORS or CSRF issue where the site isn't allowing itself to be embedded by insiders.vscode.dev?

abchatra commented 1 year ago

@riknoll CORS issue for online VSCode. Can you please take a look at this?

abchatra commented 1 year ago

I can reproduce the issue.

abchatra commented 1 year ago

Thanks @ethansTJ for reporting this.

riknoll commented 1 year ago

as a workaround, you can add ?vscode-coi=off to the end of the URL to bypass this issue.