Skip to content

Commit 610dd18

Browse files
authored
fix(amazonq): debugging amazon q can crash vscode (#6514)
## Problem If you have amazon q locally and start a debugging session, pressing stop can sometimes crash the entirety of vscode ## Solution remove [debugWebviews](https://github.com/microsoft/vscode-js-debug/blob/main/OPTIONS.md#rendererdebugoptions)/[rendererDebugOptions](https://github.com/microsoft/vscode-js-debug/blob/main/OPTIONS.md#rendererdebugoptions) from amazon q's launch config since they cause the local amazon q webview to attach to the debug instance which coincidentally ends up crashing vscode when extension debugging is stopped --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent ed87f5f commit 610dd18

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/amazonq/.vscode/launch.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
"name": "Extension",
1010
"type": "extensionHost",
1111
"request": "launch",
12-
"debugWebviews": true,
13-
"rendererDebugOptions": {
14-
"urlFilter": "*amazonwebservices.amazon-q-vscode*",
15-
"webRoot": "${workspaceFolder}"
16-
},
1712
"runtimeExecutable": "${execPath}",
1813
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
1914
"env": {

0 commit comments

Comments
 (0)