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:

  1. Clone https://github.com/PowerShell/vscode-powershell/
  2. Clone https://github.com/PowerShell/PowerShellEditorServices/ into a sibling directory
  3. cd into vscode-powershell
  4. Open . in VSCode
  5. 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: task-error

If I click on Debug Anyway, I get this: vscode-debug

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:

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)

Most upvoted comments