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.
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: