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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vsdebug-0.1.1.tar.gz
  • Upload date:
  • Size: 2.4 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.1.tar.gz
Algorithm Hash digest
SHA256 191eb8579db6bfae274f1690e0316bcebb6883e1090dc0948e8a2b5c226d8912
MD5 bc55e74be9de370ced4d6c784c1649fd
BLAKE2b-256 dcebffee6bad9e050d4738c9bf0ac2dd993d82ab310ae0bf03a761df4a73f8b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vsdebug-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9aba7b88a804811e2b5c29047c99d4bb8829fc8229c9d3b4d6228f2aee46606d
MD5 55cba736ed6e372e1d909b3e07a33c91
BLAKE2b-256 84f13e8ff78c122b508d54a68a68903218011391b9542d1663bb3de755e9c524

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