Utilities for launching debug sessions with custom prompts and actions.
Features
Prompt user to select a Python file before debugging
Prompt for arguments or other custom actions before launch
Usage
Install the extension.
Use the provided commands or debug configurations to launch sessions with custom prompts.
Requirements
Visual Studio Code 1.50.0 or higher
Release Notes
0.0.1
Initial release with debug launch utilities.
Custom File Launch Debugger
This extension provides a custom debug type askFileLaunch that prompts you to select a file to launch (e.g., Python or Node.js) when starting a debug session.
How to use
Add a configuration to your .vscode/launch.json:
{
"type": "askFileLaunch",
"name": "Ask for file to launch",
"request": "launch",
"baseType": "python" // or "node"
}
Start debugging with this configuration. You will be prompted to select a file to launch.
The selected file will be used as the entry point for the debug session (as the program property).
baseType can be python, node, or any other debug type. The file filter will adjust accordingly.