Dart-code: Support debugging for Flutter web projects

Created on 2 Jun 2019  路  5Comments  路  Source: Dart-Code/Dart-Code

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?
in debugger in flutter in web is enhancement

Most helpful comment

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

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

All 5 comments

ETA :-) ?

This requires support from the webdev package before we can implement it. There are some open issues in the issue tracker like https://github.com/dart-lang/webdev/issues/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.

thanks!!

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

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mccadi picture mccadi  路  3Comments

FeimiSzy picture FeimiSzy  路  4Comments

DanTup picture DanTup  路  3Comments

mayorbyrne picture mayorbyrne  路  5Comments

shamrin picture shamrin  路  5Comments