Skip to content

Electron 6: debugging extension quits immediately #79929

Closed

Description

@rebornix

Testing #79731

No error at all in Debug Console.

Activity

  1. deepak1556 commented on Aug 27, 2019

    @deepak1556
    Collaborator

    Renderer log shows

    [2019-08-27 12:56:01.181] [renderer1] [error] Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:18925).: Error: Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:18925).
        at handleErrorResponse (file:///Users/demohan/Downloads/Visual Studio Code - Exploration.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2658:583)
        at file:///Users/demohan/Downloads/Visual Studio Code - Exploration.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2658:37
        at processTicksAndRejections (internal/process/task_queues.js:89:5)
    [2019-08-27 12:56:20.039] [renderer1] [error] Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:45392).: Error: Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:45392).
        at handleErrorResponse (file:///Users/demohan/Downloads/Visual Studio Code - Exploration.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2658:583)
        at file:///Users/demohan/Downloads/Visual Studio Code - Exploration.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2658:37
        at processTicksAndRejections (internal/process/task_queues.js:89:5)
    
  2. added
    bug
    on Aug 27, 2019
  3. bpasero commented on Aug 28, 2019

    @bpasero
    Contributor
  4. added
    electron-blocker
    on Aug 28, 2019
  5. deepak1556 commented on Aug 28, 2019

    @deepak1556
    Collaborator

    Just to update this happens on all platforms, I tested on windows, macOS and linux.

  6. weinand commented on Sep 2, 2019

    @weinand
    Contributor

    When Electron is run as node (via the ELECTRON_RUN_AS_NODE flag), it immediately crashes when passing the --inspect-brk flag:
    2019-09-02_16-12-36

    Passing a --inspect flag instead works fine.

    Since Electron is crashing deep down in C++ code (instead of showing a message that --inspect-brk is not supported), I consider this a severe Electron 6.0 bug (and I don't plan to work around this issue in VS Code).

    I've added the "upstream" label.

  7. added
    upstream
    on Sep 2, 2019
  8. bpasero commented on Sep 2, 2019

    @bpasero
    Contributor

    I wonder if this is a regression from electron/electron#19316 or similar.

  9. deepak1556 commented on Sep 3, 2019

    @deepak1556
    Collaborator

    Fix at electron/electron#20098 , should be available with next release.

  10. locked and limited conversation to collaborators on Oct 29, 2019
  11. weinand commented on Oct 30, 2019

    @weinand
    Contributor

    Extension debugging works fine with Electron 6.

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

Metadata

Metadata

Labels

bugelectron-blockerupstreamverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions