Skip to content

Change Start Debugging Extension Host on Running Extensions to not require a restart #85422

Closed

Description

@eamodio

Issue Type: Bug

Currently if you click on Start Debugging Extension Host from the Running Extensions tab it will ask you to restart. This IMO defeats the main purpose of this feature, as the only times I want to do this, is when I am seeing an extension issue that I can't easily reproduce and when to debug it when it is happening.

Related -- it would be great to not attempt to attach in the same vscode instance and instead open a new vscode window to attach from.

VS Code version: Code - Insiders 1.41.0-insider (599c076, 2019-11-22T07:25:24.031Z)
OS version: Windows_NT x64 10.0.19028

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 x 4008)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.93GB (16.39GB free)
Process Argv
Screen Reader no
VM 0%

Activity

  1. added
    bug
    debug
    extensions-development
    on Nov 23, 2019
  2. removed
    debug
    on Nov 24, 2019
  3. weinand commented on Nov 24, 2019

    @weinand
    Contributor

    Johannes Rieken (@jrieken) with the SIGUSR1 approach, there should be no reason to require a restart, right?

  4. added
    feature-request
    help wanted
    and removed
    bug
    on Nov 25, 2019
  5. eamodio commented on Nov 25, 2019

    @eamodio
    ContributorAuthor
  6. weinand commented on Nov 25, 2019

    @weinand
    Contributor

    since SIGUSR1 doesn't exist on Windows, node.js provides a function process._debugProcess(pid) to achieve the same.

  7. jrieken commented on Nov 25, 2019

    @jrieken
    Contributor

    This should do it all:

    getInspectPort(tryEnableInspector: boolean): Promise<number>;

  8. 5 remaining items

  9. jrieken commented on Jan 27, 2020

    @jrieken
    Contributor

    To verify: start profiler from the running extensions page and make sure it doesn't prompt for a restart

  10. connor4312 commented on Jan 28, 2020

    @connor4312
    Member

    Profiling works, but the original request was for the Start Debugging Extension Host button to not require a restart. If you click Start Debugging Extension Host initially, it still shows that prompt. But if you take a profile first, it works.

  11. added
    verification-found
    and removed
    verified
    on Jan 28, 2020
  12. removed
    verification-found
    verification-needed
    on Jan 29, 2020
  13. added 2 commits that reference this issue on Oct 22, 2026
    8f28c0c
    668dff5
  14. added this to the 1.144.0 milestone on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    extensions-developmentfeature-requesthelp wantedverified

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions