Skip to content

Support some equivalent of --start-paused for webdev daemon #830

Open

Description

@DanTup

Without this there are races setting breakpoints in the IDE for startup code. In Flutter this is done by not calling runMain until we send the first resume.

Activity

  1. jakemac53 commented on Jan 27, 2020

    @jakemac53
    Contributor

    @grouma it sounds like vscode still doesn't enable the debugger because of this, should we be prioritizing this higher?

  2. self-assigned this
    on Jan 31, 2020
  3. grouma commented on Jan 31, 2020

    @grouma
    Member

    I can likely tackle this next week.

  4. DanTup commented on Sep 10, 2020

    @DanTup
    ContributorAuthor

    Friendly ping! I just re-discovered this while working on some Dart-Code integration tests :-)

    (though FWIW, I don't think VS Code is blocking anything on this now - the breakpoints just don't work in startup code.. If I add breakpoints to code that runs later, I can launch and hit them fine from VS Code - albeit it with some other issues I'm fixing).

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions