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.2.tar.gz (9.0 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.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vsdebug-0.1.2.tar.gz
  • Upload date:
  • Size: 9.0 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.2.tar.gz
Algorithm Hash digest
SHA256 ba61ff25da1588d5cf18fc9b251dff31a035480b930e2741a64194a6a6ec063c
MD5 49eff769e36ba2d155e81eb84bb7730b
BLAKE2b-256 056915799906a6d51fd108012ae117df3af577d8a52a893be2bf8ba404780594

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vsdebug-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 57dc0618e0b29262d90f5680e24db0621155b065af9285f99497d8aded09d49f
MD5 da37f6fbb2c001dcf8ea03f200d9b15a
BLAKE2b-256 8eeaf0adaec26706cdcf5e188bc22c9de2339397dcd4d7449a590eabc5b36694

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