Commit Graph

13 Commits

Author SHA1 Message Date
Alex Dima
5059232618 Fix sandbox execPath resolution for remote environments
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.
2026-03-22 00:17:30 +01:00
Copilot
2177a62b8f Debug: Support presentation.hidden in platform-specific launch config sections (#300237)
* Initial plan

* Debug: Support hiding on a specific platform via presentation in platform-specific sections

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

* Cleanup

* Fix test

* Fix test

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>
Co-authored-by: Rob Lourens <roblourens@gmail.com>
2026-03-16 21:19:42 +00:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
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
2025-10-02 23:38:33 -07:00
Benjamin Pasero
274e4772c6 context - track InputFocusedContext from platform (#267955)
* context - track `InputFocusedContext` from `platform`

* dispose contextkeyservice
2025-09-23 06:58:12 -07:00
Benjamin Pasero
6b924c5152 ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Walter Erquinigo
e3b1073902 Handle errors from Dynamic Debug Configuration providers (#202622)
* 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>
2024-07-29 09:39:36 -07:00
Johannes
9cc71ffe83 change all assert-star-imports 2024-06-03 16:50:42 +02:00
Benjamin Pasero
877caad943 debt - make history suspend more explicit (#205181)
* debt - make history suspend more explicit

* added tests

* 💄

---------

Co-authored-by: andreamah <andrea_mah22@hotmail.com>
2024-02-16 09:33:07 +01:00
Connor Peet
719a6a6cdf debug: adopt external changes (#190602)
For #183449

Also adds the leak detector to debug tests and fixes some usages of it (#190503)
2023-08-16 12:02:40 -07:00
Alex Ross
f0db763ba9 Dispose instances of test instantiation service (#187482)
* 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`
2023-07-11 14:23:55 +02:00
Rob Lourens
d5c63ca5f0 Fix uninitialized launch config compound schema (#184222)
* Fix uninitialized launch config compound schema
Fix #183712

* Fix unit tests
2023-06-05 11:21:30 -07:00
Jeremy Koritzinsky
594ae6e009 Update services surface areas to make sure test passes. 2022-08-01 10:30:14 -07:00
Jeremy Koritzinsky
4135166f89 Try adding some basic tests for the debug.ConfigurationManager 2022-07-29 16:40:07 -07:00