Skip to main content

Lightweight helper for managing VS Code C++ launch.json debug configurations.

Project description

vsdebug

vsdebug is a lightweight helper for managing VS Code C++ debug configurations.

It automates common workflows around .vscode/launch.json, including:

  • Adding or updating a launch configuration and immediately starting the debugger
  • Running an existing configuration outside the debugger
  • Spawning MPI jobs under mpirun and generating per-rank attach configurations plus an MPI compound
  • Backing up, listing, clearing, and reverting launch.json

Installation

pip install vsdebug

Command-line usage

vsdebug PUT my_config ./a.out arg1 arg2
vsdebug RUN my_config
vsdebug MPI 4 ./a.out arg1 arg2

Launch the Debugger

To enable support for starting the debugger from the script, you will need to install the vscode extension "CMD Debug Trigger". To install the extension, search for it in the vscode marketplace and install.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vsdebug-0.1.5.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vsdebug-0.1.5-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file vsdebug-0.1.5.tar.gz.

File metadata

  • Download URL: vsdebug-0.1.5.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for vsdebug-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f7750d209b7fd0421a7691009f1952f7bc1d0136fb02a732a390d696a00117f7
MD5 a04cbeecbdb944dc08d497a2a5e0d37d
BLAKE2b-256 4e5d92ec144268f33a9b63e4f3c766d2d7c8052f50728b322db46e62d341eeb4

See more details on using hashes here.

File details

Details for the file vsdebug-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: vsdebug-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for vsdebug-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 59dbfbd68eef4847aaf26e539ac63cfcd50ce77aa41233c7b32ff484e391720b
MD5 1db062a1f277e9907449ccbdbf2fae15
BLAKE2b-256 f2240f3fe0fcebd3c10764cd356550b4701e171003165666951787da20ac75cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page