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

Support debugging for Flutter web projects #1773

Closed
ghost opened this issue Jun 2, 2019 · 5 comments
Closed

Support debugging for Flutter web projects #1773

ghost opened this issue Jun 2, 2019 · 5 comments
Labels
in debugger Relates to the debug adapter or process of launching a debug session in flutter Relates to running Flutter apps in web Relates to running Dart or Flutter web apps is enhancement
Milestone

Comments

@ghost
Copy link

ghost commented Jun 2, 2019

Breakpoints and stepping are not currently supported in VS Code for Flutter web projects, please use your browser tools if you need to break or step through code

2 questions:

  • ETA :-) ?
  • what are those browser tools?
@DanTup
Copy link
Member

DanTup commented Jun 3, 2019

ETA :-) ?

This requires support from the webdev package before we can implement it. There are some open issues in the issue tracker like dart-lang/webdev#352 that you can subscribe to. Once it's supported there, there will be a little work here to ensure it works, but I don't think much.

what are those browser tools?

Whoops, that message isn't worded very well. It should say "browser developer tools". For example the dev tools in Chrome (Menu -> More Tools -> Developer Tools).

I'll keep this issue open for tracking supporting debugging once it's unblocked.

@DanTup DanTup changed the title Breakpoints and stepping are not currently supported Support debugging for Flutter web projects Jun 3, 2019
@DanTup DanTup added this to the On Deck milestone Jun 3, 2019
@DanTup DanTup added blocked on dart / flutter Requires a change in Dart or Flutter to progress in debugger Relates to the debug adapter or process of launching a debug session in flutter Relates to running Flutter apps in web Relates to running Dart or Flutter web apps is enhancement labels Jun 3, 2019
@ghost
Copy link
Author

ghost commented Jun 3, 2019

thanks!!

@annaacc
Copy link

annaacc commented Sep 4, 2019

Hello,
I see all tasks from dart-lang/webdev#352 has been closed. Do we have ETA now ?

@DanTup
Copy link
Member

DanTup commented Sep 4, 2019

There has been some progress, but it's still not fully working (for ex I found dart-lang/webdev#629 while testing debugging this week).

I can't say when it'll be done, but it is being worked on :-)

@DanTup DanTup modified the milestones: On Deck, v3.7.0 Oct 24, 2019
@DanTup DanTup removed the blocked on dart / flutter Requires a change in Dart or Flutter to progress label Nov 12, 2019
@DanTup
Copy link
Member

DanTup commented Dec 2, 2019

The tweaks needed in the VS Code extension are done (for the next release). The functionality is still very dependent on the Flutter/webdev versions (Flutter's web support is still in preview). As Flutter/webdev support additional functionality, it should just work without more changes here.

There will be some info in the release notes about what does/doesn't work when the release goes out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in debugger Relates to the debug adapter or process of launching a debug session in flutter Relates to running Flutter apps in web Relates to running Dart or Flutter web apps is enhancement
Projects
None yet
Development

No branches or pull requests

2 participants