Today VS Code debugging has no generic way to know whether a debug extension implements "single file debugging". Without this knowledge it is not possible to provide a standardised UX experience for this case.
Because of this some debug extension have started to create their own UI. A good example is the Python extension which shows a play button in the editor:

Today VS Code debugging has no generic way to know whether a debug extension implements "single file debugging". Without this knowledge it is not possible to provide a standardised UX experience for this case.
Because of this some debug extension have started to create their own UI. A good example is the Python extension which shows a play button in the editor: