-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using --extensions-dir and --user-data-dir in a launch task does not work #126737
Comments
I've created #130504 for the |
Fixing the problem that the command line options However, the reason for using the command line options in the first place, is the problem that extension debugging always uses the "main VS Code settings and extensions". So, it is not possible to debug an extension in a clean environment. But with the recent work on settings profiles, "debugging an extension in a clean environment" is now in reach. I will close this issue in favor of the new feature request #159572: "Support extension debugging in a clean environment" |
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
Launching will use my main VS Code settings and extension, while I explicitly told through "args" not to do so. It does work tho via command line
code --user-data-dir=tmp/data --extensions-dir=tmp/ext testProject
. While that, I noticed that withpreLaunchTask
it will never open.The text was updated successfully, but these errors were encountered: