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
When debugging an extension, there was always the problem that the extension was running in the development environment (user settings and installed extensions) of the author of the extension and not in an environment that was more appropriate for the target user of the extension.
With the recently introduced "profiles" feature it is now possible to run the extension under development in a different environment by specifying a profile in the extension's debug configuration.
Two scenarios are supported:
"debugging in a clean environment" by using an unnamed "empty" profile that gets automatically deleted when extension debugging has stopped.
"debugging in a controlled environment" by using a named profile that has been created specifically for the extension under development, and that contains specific user settings and extensions.
This debug configuration shows how to "debug in a clean environment":
Known limitation:
when debugging an extension in a remote location (via the "Remote Development" extensions "Containers", "SSL", or "WSL"), using the --profile-temp flag will result in this status message:
This is expected because the temporary profile does not include any extensions, which means that the "Remote Development" extensions are missing too. For remote scenarios it is recommended to create an empty named profile, add the "Remote Development" extensions to it, and then use the --profile=.... command line option.
Please verify for your favourite extension...
that the "--profile-temp" and "--profile=" command lines flags work for the two scenarios from above.
that the "--profile=" flag works in a remote setup of your choice (SSH, WSL, Container).
The text was updated successfully, but these errors were encountered:
Refs: #159572
Complexity: 2
Authors: @weinand, @sandy081
Create Issue
When debugging an extension, there was always the problem that the extension was running in the development environment (user settings and installed extensions) of the author of the extension and not in an environment that was more appropriate for the target user of the extension.
With the recently introduced "profiles" feature it is now possible to run the extension under development in a different environment by specifying a profile in the extension's debug configuration.
Two scenarios are supported:
This debug configuration shows how to "debug in a clean environment":
And here is a debug configuration for "debugging in a controlled environment" that uses a previously created profile named "extensionContext":
Known limitation:
when debugging an extension in a remote location (via the "Remote Development" extensions "Containers", "SSL", or "WSL"), using the
--profile-temp
flag will result in this status message:This is expected because the temporary profile does not include any extensions, which means that the "Remote Development" extensions are missing too. For remote scenarios it is recommended to create an empty named profile, add the "Remote Development" extensions to it, and then use the
--profile=....
command line option.Please verify for your favourite extension...
The text was updated successfully, but these errors were encountered: