Skip to content

Commit 3163fb8

Browse files
committed
Update README.md
1 parent 690bfac commit 3163fb8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ A sample Flutter web project for using on GitHub Codespaces.
22

33
In order to use debugging, you'll need to use Chrome with the [Dart Debug extension](https://chrome.google.com/webstore/detail/dart-debug-extension/eljbmlghnomdjgdjmbdekegdkbabckhm?hl=en) installed.
44

5-
// TODO(dantup): This does not work because of proxy/authentication issues:
6-
7-
Access to fetch at 'https://improved-garbanzo-abcdefghijkl-40019.app.github.dev/$dwdsExtensionAuthentication' from origin 'chrome-extension://eljbmlghnomdjgdjmbdekegdkbabckhm' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
5+
**This currently only works if the exposed ports are made Public. Use this at your own risk!**
86

7+
- Ensure `[*.]github.dev` is allowed to open popups in Chrome
98
- Fork this repo
109
- Open your fork on github.com
1110
- Click the green "Code" button and then "Create Codespace"
1211
- Wait for the Codespace to be created and open the VS Code web editor
1312
- When prompted, click "Run pub get"
1413
- Ensure the "Web Server" is selected in the status bar
1514
- Press `F5` to start launching the app
16-
- If you see "Popup Blocked" in the Chrome address bar, click the notification then on the link to open the page manually
15+
- Wait for the new tab to spawn to run the app and drag the tab out into its own window
16+
- Switch back to the VS Code editor tab and under Ports make the exposed ports public
17+
- Switch back to the app tab
18+
- Reload the page and wait for the Dart Debug Extension icon to turn blue
1719
- Click on the Dart Debug Extension icon
18-
- Wait for the "Autentication Success" page, then close that tab
19-
- Reload the app page (?)
20-
- Click on the Dart Debug Extension icon again
20+

0 commit comments

Comments
 (0)