forked from openwallet-foundation/acapy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Ubuntu 22.04.4 LTS has Python 3.10, Poetry 1.1.2 | ||
|
||
ACA-py assumes Python 3.12, wants Poetry 18.3 | ||
|
||
sudo add-apt-repository ppa:deadsnakes/ppa | ||
sudo apt install -y python3.12 python3.12-venv | ||
poetry env use python3.12 | ||
~/.local/bin/poetry add --group dev debugpy | ||
|
||
minimal debug: | ||
|
||
scripts/run_docker start --no-ledger --no-transport --debug | ||
|
||
then launch.json: | ||
|
||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
|
||
{ | ||
"name": "Débogueur Python : Attachement à distance", | ||
"type": "debugpy", | ||
"request": "attach", | ||
"connect": { "port": 5678 }, | ||
"pathMappings": [{ "localRoot": "${workspaceFolder}", "remoteRoot": "." }] | ||
} | ||
] | ||
} |