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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vsdebug-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 992ab27a87a1bc713df9386eedd224967ef0f49d099e6021b29d5f472f1fd5d8
MD5 d2d9a16d2a774c4104532509d430607e
BLAKE2b-256 8fc6f1118ce5d6dc6d3d32fd976e00e2ae295e1ea5b5c2422135d232865d98af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vsdebug-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2d3fd0f2ea4a9343a2eb00d03c437ee38c0ed6db3c4e06548631bf0b6555768d
MD5 4cfa9635dc00b54946d30a064d8d74d6
BLAKE2b-256 765ba5aad137750e876465bbe20f9e0241e0077bfb07e0cbfc34f28421a3dc0a

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