live-share icon indicating copy to clipboard operation
live-share copied to clipboard

Co-debugging doesn't work for configs defined in settings.json

Open smilence-yu opened this issue 4 years ago • 1 comments

Describe what happened: Debug configurations defined in settings.json on host won't work with co-debugging. The guest will fail to attach the debugging session.

What was your system configuration?

Host: Product and Version [VS/VSCode]: VSCode 1.43.2 OS Version[macOS/Windows]: Windows 10 Pro Live Share Extension Version: 1.0.1891 Target Platform or Language [e.g. Node.js]: Node.js

Guest: Product and Version [VS/VSCode]: VSCode 1.43.2 OS Version[macOS/Windows]: macOS Catalina Live Share Extension Version: 1.0.1891 Target Platform or Language [e.g. Node.js]: Node.js

Steps to Reproduce / Scenario:

  1. Configure "launch" in host's settings.json ( blank launch.json in project )

  2. Able to debug javascript on host

  3. Start live share session as host on Windows

  4. Join the same session as guest on Mac

  5. Run debugger on host with the config in settings.json, see local variables etc, and control panel

  6. No debugger session on Mac guest, can only see breakpoint

  7. Copy the same config from settings.json to launch.json in project

  8. Run debugger on host with the config in launch.json

  9. Debugger session is attached perfectly on Mac

smilence-yu avatar Apr 04 '20 04:04 smilence-yu

Thanks for reaching out. Assigning @jramsay to take a look, we appreciate the details.

dlebu avatar Apr 06 '20 15:04 dlebu

We’re not able to prioritize this issue over the other higher-impact issues we receive every week, based on the votes and comments from others in the community and our understanding of the issue. We understand this may be disappointing; we've all been there, whether in this project or others we've contributed to. However, rest assured that we love your input. If you feel it deserves to stay open, then clarify your use case and contact us to let us know how severe it’s for you.

derekbekoe avatar Mar 21 '24 17:03 derekbekoe