Add execPath to IRemoteAgentEnvironment so the server sends its actual
process.execPath to the client. The sandbox service now uses this instead
of hardcoding appRoot + '/node', which only works in production builds.
For #269213
This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks
Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
* 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`