Skip to content
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

VS Code 1.95.3 starts *all* onTaskType extensions when debugging #234323

Closed
chouzz opened this issue Nov 21, 2024 · 3 comments
Closed

VS Code 1.95.3 starts *all* onTaskType extensions when debugging #234323

chouzz opened this issue Nov 21, 2024 · 3 comments
Assignees

Comments

@chouzz
Copy link

chouzz commented Nov 21, 2024

Does this issue occur when all extensions are disabled?: No

  • VS Code Version: 1.95.3
  • OS Version: windows 11

Steps to Reproduce:

  1. Start Debugging (F5) with vscode extension development
  2. rust analyzer has been activated by event onTaskType:cargo, and it reports error.

launch.json

{
	"version": "0.2.0",
	"configurations": [
	
		{
			"name": "Run Extension",
			"type": "extensionHost",
			"request": "launch",
			"runtimeExecutable": "${execPath}",
			"args": [
				"--extensionDevelopmentPath=${workspaceFolder}"
			],
			"outFiles": [
				"${workspaceFolder}/dist/**/*.js"
			],
			"preLaunchTask": "npm: webpack"
		},
}

Image

This is a known issue and has been fixed before, but seems the fixes have been reverted in #222204

Ref:
#175821
#192043
#172065
#221967
#222204

@meganrogge
Copy link
Contributor

This happens by design, thus closing.

@meganrogge meganrogge closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2024
@chouzz
Copy link
Author

chouzz commented Nov 26, 2024

@meganrogge

I think it's designed for activated rust analyzer extension when debugging rust language but not designed for activated rust analyzer extension when debugging typescript.

@meganrogge
Copy link
Contributor

we have to activate all when debugging. there's no way around that at the moment.

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jan 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants