Support connecting to different clients without restarting the debuggee

Open
#723 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
devtools

Research direction

Start by tracing the debugger server lifecycle when connecting to VSCode or Chrome, focusing on the methods extended onto the server. Determine how those extensions could be reverted or isolated when a client disconnects. Done means a debuggee can switch to another client without restarting and losing its current state; no files or tests are named.

Written by the indexing model from the issue text.

Description

enhancement

Your proposal

It would be great if after disconnecting from a debugger client (e.g. VSCode), we can connect to the debuggee with another client (e.g. Console). This can be useful because some debugger features like tracers is only available to console. But having to restart the debuggee for the console means losing its current state.

Currently it's not possible because once connecting to the VSCode/Chrome, the server would have extended with different methods. And there's no way to revert that.

Dominant language
Ruby
Stars
1.3k
Forks
146
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ruby/debug

All issues in ruby/debug

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.