microsoft / microsoft/vscode-java-debug

Add the ability to disable the debugger

Open
#1,557 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged enhancement
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

In some cases, it's useful to use a 3rd party debugger. Since the JVM does not allow multiple TI agents, we cannot simply add -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 to vmArgs.

Maybe a solution is to add an argument that, when true, does not add append -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:62188 to the command.

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.

Research direction

Start by tracing how vmArgs are converted into the Java launch command and where the default JDWP argument is appended. Define the new argument's true behavior from the issue: the built-in -agentlib:jdwp=... option should be omitted, allowing a third-party debugger to provide the agent. Verify the resulting command still supports the existing debugger behavior when the option is not enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.