DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Boosting React.js Development Productivity With Google Code Assist
  • Chat with Your Oracle Database: SQLcl MCP + GitHub Copilot
  • Mastering GitHub Copilot in VS Code: Ask, Edit, Agent and the Build–Refine–Verify Workflow
  • Theia Deep Dive, Part 2: Mastering Customization

Trending

  • Run Gemma 4 on Your Laptop: A Hands-On Guide to Google's Latest Open Multimodal LLM
  • Your AI Agent Tests Are Passing, But Your Agent Is Still Broken
  • Bringing Intelligence Closer to the Source: Why Real-Time Processing is the Heart of Edge AI
  • Implementing Observability in Distributed Systems Using OpenTelemetry
  1. DZone
  2. Coding
  3. Tools
  4. How To Collaborate On Troubleshooting Using VSCode Live Share and Lightrun

How To Collaborate On Troubleshooting Using VSCode Live Share and Lightrun

Microsoft's VSCode Native IDE Live Share feature equipped with Dynamic Observability from the Lightrun platform expedites developers debugging processes.

By 
Eran Kinsbruner user avatar
Eran Kinsbruner
·
Aug. 07, 23 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
2.0K Views

Join the DZone community and get the full member experience.

Join For Free

Modern application development environments are complicated, with many layers of abstraction. 

Amongst all this complexity, a major challenge for developers is pinpointing the root cause of an issue and adding the right telemetry in the right place to assess the situation and get the issues resolved quickly. 

Developer time is precious, yet they spend a huge amount of it sifting through code, trying to identify vulnerabilities and determine what needs to be done to remediate them. 

Yet, no developer is an island! 

The ability to bounce ideas off a colleague in real time or just get a second opinion can often provide that extra inspiration needed to crack a particularly difficult problem more quickly or reveal a better approach. In particular, those colleagues who are much more familiar with a given application or have a lot of experience can massively expedite a troubleshooting session by lending their expertise. 

That’s why collaboration with peers and colleagues on tricky issues can help teams to resolve issues much more quickly, meet SLAs, reduce MTTR, and increase developer productivity. 

But devs working remotely can’t see each others’ IDEs or the telemetry that is informing their troubleshooting. That’s why we’re seeing a new generation of developer collaboration tooling emerge to help bridge the gap between them. 

Developer Collaboration Tools: Using Lightrun and VSCode Live Share To Expedite Troubleshooting

A powerful combination of developers' tools is using VSCode Live Share alongside Lightrun to collaborate with peers on troubleshooting and debugging. 

Lightrun is our developer observability platform. It enables developers to add logs, metrics, and snapshots to live applications in real time — without having to release a new version or even stop the running process. In addition and in parallel to using Lightrun with VSCode Live Share, users can utilize the sharing snapshot hit feature within the Lightrun IDE plugin. With that feature, once a virtual breakpoint (snapshot) is captured, developers can share it in various ways: via Jira, Slack, or direct read-only link.

Live Share is an extension for Visual Studio Code that enables real-time collaboration between developers. It enables you to collaborate with a peer on the same code without the need to sync code, clone a repo, or to configure the same development tools, settings, or environment. It’s like Google Docs but for code! 

Live Share

Using these tools in combination enables a powerful new practice to accelerate troubleshooting: you can collaborate as a team to add real-time telemetry to your live application, observe the outputs and collectively decide the next best action. 

How To Collaboratively Troubleshoot

Here’s how you might use Lightrun and VSCode Live Share together to troubleshoot:

  1. Open a read-only session from their VS Code IDE and share it with colleagues
  2. Use Lightrun to add dynamic logs and snapshots (virtual breakpoints) to the live application in real time
  3. Allow your peers to monitor the stack traces and other outputs from the Lightrun consoles directly using the VSCode IDE
  4. Get immediate peer feedback as to whether more telemetry is needed (which can be added straight away) or collaborate to determine how to resolve the issue
  5. Work together to add more telemetry using Lightrun or start resolving the issue

Microsoft Live Share Functionality in Action Alongside Lightrun Runtime Debugger in VS Code

Microsoft Live Share Functionality in Action Alongside Lightrun Runtime Debugger in VS Code

As noted in the caption, the above is a screenshot taken from the VSCode IDE where a snapshot (virtual breakpoint during app runtime) from Lightrun was taken and a Live Share link is ready to be shared with other developers for feedback and observability throughout the process.

Benefits of Collaborative Troubleshooting

  • No more context switching 

Share your troubleshooting session and collaborate with colleagues straight from your IDE, without having to use other tools or switch context. 

  • Draw on peer expertise

Your colleagues already have the answers to many of the questions you might want to ask about a certain application. Rather than figuring everything out yourself, you can use their expertise and experience to save time.

  • Real-time feedback

As you are adding new logs and snapshots, your peers can give you real-time feedback on the state of the application and stack traces, helping to guide your troubleshooting efforts. 

Ultimately, the combination of real-time, on-demand telemetry and real-time feedback from colleagues is a fantastically time-saving practice that can help to lower debugging cycle times and massively boost developer productivity. 

Visual Studio Code

Opinions expressed by DZone contributors are their own.

Related

  • Boosting React.js Development Productivity With Google Code Assist
  • Chat with Your Oracle Database: SQLcl MCP + GitHub Copilot
  • Mastering GitHub Copilot in VS Code: Ask, Edit, Agent and the Build–Refine–Verify Workflow
  • Theia Deep Dive, Part 2: Mastering Customization

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook