Skip to content

Commit b261cd2

Browse files
committed
DOCS: add launch.json and mention poetry config
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
1 parent 2640dbb commit b261cd2

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "pingtop debug",
6+
"type": "python",
7+
"request": "launch",
8+
"program": "${workspaceFolder}/src/pingtop/cli.py",
9+
"justMyCode": false,
10+
"args": ["google.com"],
11+
"python": "${workspaceFolder}/.venv/bin/python",
12+
"cwd": "${workspaceFolder}",
13+
//"console": "externalTerminal",
14+
//"sudo": true
15+
}
16+
]
17+
}

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ Then widen the allowed range so your user or group can open ICMP sockets:
206206
Development
207207
-----------
208208

209+
You may need to set `poetry config virtualenvs.in-project true` for the included vscode launch.json to work.
210+
209211
::
210212

211213
poetry install

0 commit comments

Comments
 (0)