Skip to content

node debugging seems not to be working. ever attaches #312

Closed

Description

@polymerchm
No description provided.

Activity

  1. polymerchm commented on Mar 21, 2019

    @polymerchm
    Author

    When running in the shell, with either auto accath or with an attach "task", never seems to connect.

  2. NGTmeaty commented on Mar 21, 2019

    @NGTmeaty
    Contributor

    Can you please fill out the template so we can have more information?

  3. nol166 commented on Mar 21, 2019

    @nol166
    Contributor

    Hey, @polymerchm can you send us the output of the error message you are getting or the error in the browser developer console?

  4. polymerchm commented on Mar 21, 2019

    @polymerchm
    Author

    This is the output in the "output" window with "trace" enabled in the attach options:

    Error: Cannot find module 'vscode-chrome-debug-core'
    at Module.r.require (/usr/local/bin/code-server:468:26539)
    at /home/travis/build/codercom/code-server/packages/server/build/extensions/ms-vscode.node-debug2/out/src/nodeDebug.js/home/travis/build/codercom/code-server/packages/server/build/extensions/ms-vscode.node-debug2/out/src/nodeDebug.js:6:36
    at requireFilesystemModule (/usr/local/bin/code-server:468:26288)
    at Object.exports.requireFork (/usr/local/bin/code-server:468:26641)
    at v.run (/usr/local/bin/code-server:549:49569)
    at

  5. nol166 commented on Mar 21, 2019

    @nol166
    Contributor

    Hey @polymerchm node debugging should be fixed in an upcoming update very soon.

  6. nol166 commented on Mar 21, 2019

    @nol166
    Contributor

    This will probably be fixed by #299

  7. jondavidschober commented on Mar 22, 2019

    @jondavidschober

    I'm having the same issue. I dont have any extensions installed except themes. The output is

     [2019-03-22 18:42:28.087] [exthost] [info] eager extensions activated
     [2019-03-22 18:42:57.484] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-server-ready {"startup":false,"activationEvent":"onDebugResolve"}
     [2019-03-22 18:42:57.485] [exthost] [info] ExtensionService#loadCommonJSModule /home/travis/build/codercom/code-server/packages/server/build/extensions/debug-server-ready/dist/extension
     [2019-03-22 18:42:57.488] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.node-debug2 {"startup":false,"activationEvent":"onDebugResolve:node"}
     [2019-03-22 18:42:57.488] [exthost] [info] ExtensionService#loadCommonJSModule /home/travis/build/codercom/code-server/packages/server/build/extensions/ms-vscode.node-debug2/out/src/extension
     [2019-03-22 18:42:57.524] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.node-debug {"startup":false,"activationEvent":"onDebugResolve:node"}
     [2019-03-22 18:42:57.524] [exthost] [info] ExtensionService#loadCommonJSModule /home/travis/build/codercom/code-server/packages/server/build/extensions/ms-vscode.node-debug/dist/extension.js`
    

    I'm trying to attach to existing node with inspector running. The node process never prints Debugger attached.

    I basically get one shot of starting the debugger, it kinda hangs then goes away, then if I try debugging again I get "There is already a debug configuration "Attach" running."

  8. NGTmeaty commented on Mar 23, 2019

    @NGTmeaty
    Contributor

    What version of code-server are you running?

  9. polymerchm commented on Mar 23, 2019

    @polymerchm
    Author
  10. foresthoffman commented on Mar 23, 2019

    @foresthoffman
    Contributor

    @polymerchm The blank screen after attempting to add a folder will be fixed by #317 in the next release.

  11. jondavidschober commented on Mar 23, 2019

    @jondavidschober

    @NGTmeaty 1.32.0-310

  12. self-assigned this
    on Mar 26, 2019
  13. added this to the March 2019 milestone on Mar 26, 2019
  14. kylecarbs commented on Mar 27, 2019

    @kylecarbs
    Member

    Fixed with the latest release.

  15. NGTmeaty commented on Mar 27, 2019

    @NGTmeaty
    Contributor

    Thanks Kyle!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions