You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,19 @@ A sample Flutter web project for using on GitHub Codespaces.
2
2
3
3
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.
4
4
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!**
8
6
7
+
- Ensure `[*.]github.dev` is allowed to open popups in Chrome
9
8
- Fork this repo
10
9
- Open your fork on github.com
11
10
- Click the green "Code" button and then "Create Codespace"
12
11
- Wait for the Codespace to be created and open the VS Code web editor
13
12
- When prompted, click "Run pub get"
14
13
- Ensure the "Web Server" is selected in the status bar
15
14
- 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
17
19
- Click on the Dart Debug Extension icon
18
-
- Wait for the "Autentication Success" page, then close that tab
0 commit comments