From 8443b22705758c182586d657adff9c4dd35a4afa Mon Sep 17 00:00:00 2001 From: Phil Schaf Date: Sun, 31 May 2026 20:08:30 -0400 Subject: [PATCH] docs: use launch.json as example --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 449b8e6..1d08578 100644 --- a/README.md +++ b/README.md @@ -23,23 +23,23 @@ Persistent modifications to the installed packages should be done by editing Hat - `hatch.envInterpreter`: not an interactive command, but rather for use in `launch.json` or `tasks.json` via [variable substitution], e.g. for `command` in `tasks.json` or `python` in `launch.json`: ```jsonc - { // tasks.json + { // launch.json "version": "0.2.0", - "tasks": [ + "configurations": [ { - "label": "Build docs", - "type": "process", - "command": "${input:docsInterpreter}", - "args": ["-m", "sphinx", "docs", "docs/_build"], - "problemMatcher": [], + "name": "Python: Debug script", + "type": "debugpy", + "request": "launch", + "python": "${input:scriptsInterpreter}", + "program": "${file}", }, ], "inputs": [ { - "id": "docsInterpreter", + "id": "scriptsInterpreter", "type": "command", "command": "hatch.envInterpreter", - "args": { "env": "docs" }, + "args": { "env": "scripts" }, }, ], }