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
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Because the DevOps movement has redefined engineering responsibilities, SREs now have to become stewards of observability strategy.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Related

  • The Ultimate Guide to Code Formatting: Prettier vs ESLint vs Biome
  • Exploring Intercooler.js: Simplify AJAX With HTML Attributes
  • Build a Stateless Microservice With GitHub Copilot in VSCode
  • Develop Microservices Using Azure Functions, API Management

Trending

  • Implementing Explainable AI in CRM Using Stream Processing
  • AI Agents: A New Era for Integration Professionals
  • Optimizing Serverless Computing with AWS Lambda Layers and CloudFormation
  • When Airflow Tasks Get Stuck in Queued: A Real-World Debugging Story
  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 (1)
Comment
Save
Tweet
Share
1.7K 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

  • The Ultimate Guide to Code Formatting: Prettier vs ESLint vs Biome
  • Exploring Intercooler.js: Simplify AJAX With HTML Attributes
  • Build a Stateless Microservice With GitHub Copilot in VSCode
  • Develop Microservices Using Azure Functions, API Management

Partner Resources

×

Comments
Oops! Something Went Wrong

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

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

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 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!