microsoft / microsoft/java-debug

Live Share debugging not working for client

Open
#324 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged needs more info question
Dominant language
Java
Stars
409
Forks
204
Avg merge
1d 13h
Merged PRs (30d)
4

Description

Hi !
I've noticed that we can't share debugging with clients during a live share session.
I'm using the latest version of Vs Code 1.43.1

Here is the vs code extensions I use :

  • Language Support for Java(TM) by Red Hat
  • Debugger for JavaPreview
  • Live Share Extension PackPreview : with setting "liveshare.allowGuestDebugControl": true

How to reproduce :

  • start a live share session
  • invite someone (a "client")
  • the client set a breakpoint in the code
  • the client launch the Java main program with Run launcher from Vs Code

What I see :

  • the debug is correctly started on my station (the server)
  • I see the execution stopped on the breakpoint (the line is coloured)
  • The client don't see the debugging toolbar and the coloured line

What I expect :

  • the client has access to the debug toolbar
  • the client can control the debugging

Thanks !

Contributor guide

No contributing guide indexed for this repository

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 reproducing the issue with VS Code 1.43.1, the listed Java extensions, and the setting liveshare.allowGuestDebugControl. Run a Java main program through the VS Code Run launcher during a Live Share session, then compare the server and client debugging UI. Done means the client sees the debugging toolbar and highlighted breakpoint and can control execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.