devtools
devtools copied to clipboard
Support DevTools extension detection for pub workspaces
For DevTools extensions, we currently assume that the .dart_tool/package_config.json file will always live in the project root. This may not be true for pub workspaces AKA monorepos.
What we should instead do is modify the DevTools server extension APIs to take the path to the package config file instead of the project root.
Related:
- https://github.com/dart-lang/pub/issues/4218