You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow debugger contributions to specify filenames as well as languages to be default debugger #74671
Currently a debugger can only declare languages that it's default debugger for, but in other places where VS Code allows specifying languages, we can use filename patterns too.
Sometimes users switch to a file that is not in the language they're working on, but an additional file (for example in Dart we have pubspec.yaml and in NodeJS there's package.json). It'd be nice if you switched to package.json to change a dependency and then hit F5, it could invoke the Node JS debugger (and for pubspec.yaml, the Dart one), skipping the prompt.
"contributes": {"debuggers": [{"languages": ["dart",// Support something like DocumentFilter here?// { language: 'json', scheme: 'untitled', pattern: '**/package.json' }{pattern: '**/pubspec.yaml'}],
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
Activity
vscodebot commentedon Oct 9, 2019
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding and happy coding!
weinand commentedon Apr 20, 2022
As pointed out by Danny Tuppeny (@DanTup) this feature request is most likely a prereq for #146338