vscode: Cannot read property "isWrapped" of undefined in [Extension Host] when launching VSCode extension for debug
- VSCode Version: 1.28.0-insider
- OS Version: Microsoft Windows 10.0.18247
Steps to Reproduce:
- Clone https://github.com/PowerShell/vscode-powershell/
- Clone https://github.com/PowerShell/PowerShellEditorServices/ into a sibling directory
cd
intovscode-powershell
- Open
.
in VSCode - Execute the Launch Extension task
Does this issue occur when all extensions are disabled?: Yes
Here’s the task in question:
{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [ "--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/src/**/*.js"],
"preLaunchTask": "BuildAll"
}
You can see our full task configuration here.
Here’s a screen shot of the prompt that appears when the task is run:
If I click on Debug Anyway, I get this:
This currently all works in VSCode 1.27.2. I usually use Insiders, so I can report that launching tasks has all worked perfectly up until this point. But I’ve downgraded to 1.27.2 in light of this issue.
I had a brief look through:
- https://github.com/Microsoft/vscode/issues/37997
- https://github.com/Microsoft/vscode/issues/35340
- https://github.com/Microsoft/vscode/issues/24595
But they don’t quite seem to relate – although perhaps I didn’t read closely enough.
Is there something I should change in our task configuration maybe?
Sorry I haven’t provided a simpler repro, but happy to work with people to get to the bottom of the problem.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 21 (8 by maintainers)
https://github.com/Microsoft/vscode/issues/59114