Describe the bug:
Since version 3.78.0 (commit) it is not possible anymore to run dart scripts from another package because the path has to start with bin/
We have a monorepo setup and one of the packages contains multiple cli scripts (for syncing the styleguide, syncing translations, exporting translations, ...) The way we do that is running the cli script but the cwd is actually the other package. Maybe a better approach would be to make it possible to debug cli scripts defined by the package, so for example dart pub run tools:toolX.
To Reproduce:
I created a demo project https://github.com/krispypen/dart_extension_bin_issue
if you open the workspace file in vscode and then try to run "Run toolX" it will not run because it is not recognized as a dart script. On version 3.76.1 and lower it works.
Expected behavior:
until version 3.76.1 it was possible to run dart cli scripts where the path contains bin
Screenshots:
##Version info:
- Operating System and version: MacOS Sonoma
- VS Code version: 1.84.2
- Dart extension version: 3.78.0
- Dart/Flutter SDK version: 3.13.6
- Target device (if the issue relates to Flutter debugging): running dart script so no device