Skip to content

Example-2: Add VS Code Launch Configuration #27

@thatkookooguy

Description

@thatkookooguy

Setting up debugging in VS Code can be tedious. If we provide a launch configuration, developers can start debugging immediately instead of figuring it out themselves.

What we're trying to accomplish: Make debugging easier for contributors by providing VS Code launch configurations out of the box.

The task: Create .vscode/launch.json with debug configurations for:

  • Development mode (running the app with watch)
  • Running tests (debugging tests)
  • Environment variable setup

Make sure it works with the existing npm scripts and document it in CONTRIBUTING.md.

Why this matters: Developer experience matters. When debugging is easy, contributors are more likely to contribute. It's a small thing that makes a big difference.

Skills needed: Beginner-friendly - mostly JSON configuration for VS Code.

Time estimate: 30 minutes

Helpful files:

  • package.json - See the npm scripts
  • CONTRIBUTING.md - Where to document it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions