* Handle errors from Dynamic Debug Configuration providers
If a Dynamic Configuration provider, via its method `provideDebugConfigurations`, returns `undefined` or throws an Error, the selector in the Debug Tab is left in a borked state instead of going back to the last selected item.
This was initially reported in https://github.com/microsoft/vscode/issues/198798, whose fix handled some cases, but not all. This commit attempts to handle all the remaining cases.
* Use logservice to report error
* Fix build
---------
Co-authored-by: Rob Lourens <roblourens@gmail.com>
* Dispose instances of test instantiation service
This will call `sinon.restore()` and prevent a memory leak
Part of #187471
* Fix interfering terminal tests
* Remove `async` from terminal test suite
* Fix `any`