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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vsdebug-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 f23425da415b7adf6196a8d7bf953289f35b010b06eaf6f137818c37083b4d86
MD5 98b9fcce18d1539650456c9d0020f3f1
BLAKE2b-256 960cbddd84038d4165a7bdbec78beeadc73c8c14b39e3135ae9e0f21e315eac0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vsdebug-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 032fa01228472d3c7d8871c9b45ced6b483cde18297f8ad15d846a0f1cec80a6
MD5 7d7185934c3cf1ee778af6c8f6e6377b
BLAKE2b-256 ab33074df319249bab6b618bc012a2fc306c066028033b69e066a5a62fe02754

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