Thanks to visit codestin.com
Credit goes to github.com

Skip to content

remove passing --debugger-module-names to frontend server #109791

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

Merged

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Aug 18, 2022

Change description

Remove passing of --debugger-module-names flag to the frontend server

The flag is true by default so the behavior does not change.

Next steps

  • Use the flag for updated debugger module names:

    • Frontend server: make the current behavior controlled
      by the flag non-conditional
    • Frontend server: add more debugging names changes under
      the same flag, false by default
    • Dwds: make changes required for the new module names.
    • Flutter tools: when matching dwds changes roll to flutter,
      pass the flag to the frontend server again.
  • Cleanup:

    • Frontend server: make new behavior default
    • Flutter tools: remove all uses of the flag.
    • Frontend server: remove the flag.

Towards: dart-lang/webdev#1692
Helps: #106727

Tests

Behavior does not change so the existing tests should match.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Anna Gringauze added 2 commits August 18, 2022 11:05
The flag is true by default so the behavior does not change.

Next steps:

Use the flag for updated debugger module names:
  - Frontend server: make the current behavior controlled
    by the flag non-conditional
  - Frontend server: add more debugging names changes under
    the same flag, false by default
  - Dwds: make changes required for the new module names.
  - Flutter tools: when matching dwds changes roll to flutter,
    pass the flag to the frontend server again.

- Cleanup:
  - Frontend server: make new behavior default
  - Flutter tools: remove uses of the flag.
  - Frontend server: remove the flag.

Towards: dart-lang/webdev#1692
Helps: flutter#106727
@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 18, 2022
@Jasguerrero
Copy link
Contributor

@zanderso can we remove the debug flag? I see you have a TODO in the code

Copy link
Member

@zanderso zanderso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm and we can close #52693

@annagrin annagrin requested a review from zanderso August 18, 2022 21:31
@annagrin
Copy link
Contributor Author

annagrin commented Aug 19, 2022

Jasguerrero

@zanderso can we remove the debug flag? I see you have a TODO in the code

I am planning to use it for a bit longer to fix #106727 (dart-lang/webdev#1692) and then I will remove the flag (see my description of next steps in this PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants