diff --git a/dwds/debug_extension/README.md b/dwds/debug_extension/README.md new file mode 100644 index 000000000..9c0aafeeb --- /dev/null +++ b/dwds/debug_extension/README.md @@ -0,0 +1,10 @@ +## Dart Debug Extension + +The implementation of the [Dart Debug Extension][] for Chrome, +that enables debugging Dart web apps with [Dart DevTools][] by +integrating with [`webdev`][] through [DWDS][]. + +[Dart Debug Extension]: https://dart.dev/to/web-debug-extension +[Dart DevTools]: https://dart.dev/tools/dart-devtools +[`webdev`]: https://dart.dev/tools/webdev +[DWDS]: https://pub.dev/packages/dwds diff --git a/dwds/debug_extension/pubspec.yaml b/dwds/debug_extension/pubspec.yaml index 2e97d3e10..0d6159087 100644 --- a/dwds/debug_extension/pubspec.yaml +++ b/dwds/debug_extension/pubspec.yaml @@ -1,7 +1,6 @@ name: mv3_extension publish_to: none version: 2.1.5-wip -homepage: https://github.com/dart-lang/webdev description: >- A Chrome extension for Dart debugging. diff --git a/dwds/lib/shared/README.md b/dwds/lib/shared/README.md index ac348e6bb..c195ebbb0 100644 --- a/dwds/lib/shared/README.md +++ b/dwds/lib/shared/README.md @@ -1,4 +1,4 @@ # Shared directory -The files in this directory are shared between DWDS and external packages (e.g., -the Dart Debug Extension). +The files in this directory are shared between DWDS and external packages, +such as the [Dart Debug Extension](https://dart.dev/to/web-debug-extension). diff --git a/dwds/web/client.dart b/dwds/web/client.dart index 2a016d698..4311d616d 100644 --- a/dwds/web/client.dart +++ b/dwds/web/client.dart @@ -163,7 +163,7 @@ Future? main() { if (!event.success) { final alert = 'DevTools failed to open with:\n${event.error}'; if (event.promptExtension && window.confirm(alert)) { - window.open('https://goo.gle/dart-debug-extension', '_blank'); + window.open('https://dart.dev/to/web-debug-extension', '_blank'); } else { window.alert(alert); } diff --git a/webdev/README.md b/webdev/README.md index 2117507f9..1a80a1f21 100644 --- a/webdev/README.md +++ b/webdev/README.md @@ -49,7 +49,8 @@ Usage: webdev serve [arguments] [[:]]... + D / Option + D). This also enables --launch-in-chrome. --[no-]debug-extension Enable the backend for the Dart Debug - Extension. + Extension. Learn more at + dart.dev/to/web-debug-extension. --[no-]injected-client Whether or not to inject the client.js script in web apps. This is required for all debugging related diff --git a/webdev/lib/src/command/serve_command.dart b/webdev/lib/src/command/serve_command.dart index 58c2e5543..3c32817e8 100644 --- a/webdev/lib/src/command/serve_command.dart +++ b/webdev/lib/src/command/serve_command.dart @@ -35,7 +35,8 @@ refresh: Performs a full page refresh. help: 'Enable the launching of DevTools (Alt + D / Option + D). ' 'This also enables --$launchInChromeFlag.') ..addFlag(debugExtensionFlag, - help: 'Enable the backend for the Dart Debug Extension.') + help: 'Enable the backend for the Dart Debug Extension. ' + 'Learn more at dart.dev/to/web-debug-extension.') ..addFlag(enableInjectedClientFlag, help: 'Whether or not to inject the client.js script in web apps. This ' 'is required for all debugging related features, but may interact '