Part 3: Tools and Remote Setup

Part of the Pair Programming 101 Series

March 2020: Everything Changed

Before pandemic: Pair programming meant sitting next to someone, sharing a keyboard.

March 2020: Everyone went remote. Overnight.

First week of remote work: Tried screen sharing over Zoom. Laggy. Frustrating. Couldn't type on partner's machine.

Someone suggested: "Try VS Code Live Share."

Changed everything. Remote pairing became better than in-person.

Let me show you the tools I actually use.

VS Code Live Share (My Primary Tool)

Best collaborative coding tool I've ever used. Real-time collaboration. No lag. Each person uses their own editor setup.

Initial Setup

Install VS Code Live Share:

  1. Open VS Code

  2. Go to Extensions (Cmd+Shift+X)

  3. Search "Live Share"

  4. Install "Live Share" by Microsoft

  5. Sign in with GitHub or Microsoft account

That's it. Ready to pair program.

Starting a Session

Host's workflow:

Guest joins:

  • Click the link

  • VS Code opens automatically

  • Join as read-write participant

Takes 30 seconds total.

Real Pairing Session Example

Last week, pairing with Sarah on auth service:

Sarah sees my cursor in the test file. I see her cursor in the middleware.

We're working in parallel on related code. Completely seamless.

Live Share Advanced Features

Shared terminal:

Shared servers:

Shared debugging:

Game changer for remote debugging.

My VS Code Live Share Settings

Settings I use for smooth pairing:

Communication Tools

Code collaboration is half the battle. Communication is the other half.

My Communication Stack

1. Discord (Primary voice/video)

Why Discord over Zoom:

  • Better audio quality

  • Lower latency

  • Screen sharing works perfectly

  • Separate channels for different topics

  • Always-on voice channels

My setup:

Drop into voice channel. Start pairing immediately.

2. Slack (Async communication)

Use Slack for:

  • Scheduling pairing sessions

  • Sharing links and resources

  • Quick questions

  • Code snippets not in Live Share

My workflow:

3. Built-in VS Code Audio (Yes, it exists!)

VS Code Live Share has built-in audio. I rarely use it though.

Enable it:

Why I don't use it:

  • Discord has better quality

  • Can't switch between speakers/headphones easily

  • No push-to-talk

But it works if you can't use Discord.

Communication Best Practices

My rules for effective remote pairing:

1. Always use voice, never just text

❌ Bad:

βœ… Good:

Voice is 10x faster and clearer.

2. Describe what you're doing

Keeps navigator engaged. Easier to spot mistakes.

3. Use video for complex discussions

Screen sharing + video for:

  • Architecture discussions

  • Debugging visual issues

  • Explaining complex concepts

Screen sharing only for:

  • Routine feature development

  • Code refactoring

Video drains energy. Use strategically.

Git Workflow for Pair Programming

Git gets tricky with two people. Here's my workflow.

Traditional Approach (What I Started With)

Both developers commit:

Works, but tedious. Easy to forget co-author.

Git Mob (What I Use Now)

Better tool for pair commits.

Install:

Setup:

Usage:

Automatic co-author attribution. Never forget.

Pair Programming Branch Strategy

My team's workflow:

Branch clearly shows who worked on what. Commit history reflects actual collaboration.

Handling Merge Conflicts While Pairing

Real example from last week:

Resolution process:

  1. Share screen immediately

  2. Both look at the conflict together

  3. Discuss which approach is better

  4. Navigator decides, driver implements

  5. Test the merged version

Two brains make merge conflicts less scary.

Remote Pairing Environment Setup

My ideal remote pairing setup:

Hardware

Essential:

  • Microphone (not laptop mic)

  • Headphones (prevents echo)

  • Stable internet (minimum 10 Mbps)

Nice to have:

  • Second monitor

  • Webcam

  • Mechanical keyboard (if you like the sound)

Software Configuration

VS Code settings for remote pairing:

Project Configuration

Shared config files:

Everyone has the same setup. No formatting wars.

My Complete Remote Pairing Workflow

From start to finish:

Total time: 1-2 hours. Result: Production-ready authentication with zero bugs.

Troubleshooting Common Issues

"Live Share is laggy"

Check:

  1. Internet speed (run speed test)

  2. VS Code version (update to latest)

  3. Too many extensions (disable unused ones)

  4. Large files open (close files you're not using)

"Can't hear my partner"

Fix:

  1. Check Discord/Zoom audio settings

  2. Verify microphone permissions

  3. Try different audio device

  4. Restart audio application

"Git conflicts after pairing"

Prevention:

What's Next

In Part 4, we'll cover best practices and how to avoid common pitfalls:

  • Communication patterns that actually work

  • When and how to switch roles

  • Handling disagreements productively

  • Avoiding pair programming fatigue

Real conflicts from my pairing experience and how we resolved them.


Previous: Part 2 - Pair Programming Techniques Next: Part 4 - Best Practices and Pitfalls β†’ Series Home: Pair Programming 101

This article is part of the Pair Programming 101 series. All examples based on real pair programming experiences using TypeScript, Node.js, and modern development tools.

Last updated