Skip to content

Configured debug type 'extensionHost' is not supported. #13394

Closed

Description

@leaxoy
  • VSCode Version: code-oss-dev 1.7.0 (Commit unknown, Date unknown)
  • OS Version: Darwin x64 16.1.0
  • Extensions:

As title described

Activity

  1. isidorn commented on Oct 10, 2016

    @isidorn

    This is as designed, when you run vscode out of source the node debug is not packaged as an extension - it only gets packaged once you build the full vscode.
    What you need to do is copy the node-debug from your vscode stable installation folder inside your user .vscode-oss-dev/extensions folder. That way the out of source vscode will pick up the built in node debug extension

  2. added
    *question
    on Oct 10, 2016
  3. leaxoy commented on Oct 10, 2016

    @leaxoy
    Author

    oh thanks!!

  4. pflannery commented on Nov 27, 2016

    @pflannery

    Isidor Nikolic (@isidorn)
    I have the same issue.
    The closest I find to a node-debug extension in the vscode stable installation folder is

    <app path>\resources\app\extensions\ms-vscode.node-debug
    <app path>\resources\app\extensions\ms-vscode.node-debug2
    

    I copied these folders in to my ~/.vscode-oss-dev/extensions folder and it removes the error but now I see this when trying to debug my extension

    image

  5. pflannery commented on Nov 27, 2016

    @pflannery

    just to add

      windows 10 64 bit
      npm: 4.0.2,
      http_parser: '2.7.0',
      node: '6.9.1',
      v8: '5.1.281.84',
      uv: '1.9.1',
      zlib: '1.2.8',
      ares: '1.10.1-DEV',
      icu: '57.1',
      modules: '48',
      openssl: '1.0.2j' 
  6. isidorn commented on Nov 28, 2016

    @isidorn

    Peter Flannery (@pflannery) in the 'launch.json' under 'args' as the first argument of the array you should add a path to your vscode repository.
    As to why this is exactly needed Andre Weinand (@weinand) can clarify

    screen shot 2016-11-28 at 10 18 24

  7. added
    debug
    on Nov 28, 2016
  8. weinand commented on Jan 29, 2017

    @weinand
    Contributor

    Jonast just checkout vscode-node-debug, do an npm install and a gulp package. Then side-load the resulting vsix into Code - OSS Dev.

  9. weinand commented on Jan 29, 2017

    @weinand
    Contributor

    Sideloading an extension is trivial: just go to the extension viewlet and select "Install from VSIX.." from the overflow menu.

    (Are you sure that you that you need "Code - OSS Dev" to debug your extension? Debugging extension is directly supported from the regular stable or Insider builds of VS Code; the 'complicated setup' you mention above is only necessary if you want to debug the VS Code core itself).

  10. weinand commented on Jan 29, 2017

    @weinand
    Contributor

    Because in the 'free' version of VS Code you are 'free' to decide what extensions you want to use. We do not want to force anybody to use the node debug extension (and we believe that the "Install from VSIX..." action makes it painless to include any extension you want to use).

  11. weinand commented on Jan 29, 2017

    @weinand
    Contributor

    We are assuming that if you want to build 'Code - OSS Dev' yourself, then you probably want to build 'node-debug' yourself too.
    If you need an easier route, just use the stable or Insider versions, they include the node debugger extension automatically.

  12. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*questiondebug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions