Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dart Debug Extension doesn't work with DWDS example #1486

Open
elliette opened this issue Jan 14, 2022 · 1 comment
Open

Dart Debug Extension doesn't work with DWDS example #1486

elliette opened this issue Jan 14, 2022 · 1 comment

Comments

@elliette
Copy link
Contributor

Steps to reproduce:

  • Follow the instructions in CONTRIBUTING to start the example app
  • After opening Dart DevTools, close it and instead click the Dart Debug Extension

Expected: Dart DevTools opens
Actual: Dart DevTools never opens

If you go to chrome://extensions, toggle Dev mode on, and click the link for the background script in the Dart Debug Extension, the following error is shown:

Error handling response: Bad state: Cannot add event after closing

@annagrin
Copy link
Contributor

Figured this out:) You will need to pass --debug-extension flag to the webdev serve... command.
We should either enable this setting by default or add an alert to the user in the case it is not enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants