https://github.com/andriisoldatenko/debugging-containerized-python-applications
Debugging containerized Python applications
https://github.com/andriisoldatenko/debugging-containerized-python-applications
Last synced: 2 months ago
JSON representation
Debugging containerized Python applications
- Host: GitHub
- URL: https://github.com/andriisoldatenko/debugging-containerized-python-applications
- Owner: andriisoldatenko
- License: mit
- Created: 2024-03-30T09:12:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-23T15:26:42.000Z (about 1 year ago)
- Last Synced: 2025-02-04T19:45:23.052Z (4 months ago)
- Language: Shell
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# debugging-containerized-python-applications
Debugging containerized Python applications## Sample Python app
```bash
make build-sample-appmake run-sample-app
```### debugpy
```
docker build -f Dockerfile-debugpy -t asoldatenko/py-sample-app-debug .
docker run
```### PuDB
```bash
docker build -t pudb-debug -f Dockerfile-pudb-debug .
docker run pudb-debug -p 6899:6899
```podman run -p 6899:6899 pudb-debug
open separate terminal:
```bash
telnet 127.0.0.1 6899
``````mermaid
mindmap
root((mindmap))
Origins
Long history
::icon(fa fa-book)
Popularisation
British popular psychology author Tony Buzan
Research
On effectiveness
and features
On Automatic creation
Uses
Creative techniques
Strategic planning
Argument mapping
Tools
Pen and paper
Mermaid
```## Add git-sha
```
docker build -f Dockerfile-debugpy-sha --build-arg GIT_HASH=${GIT_HASH::7} -t asoldatenko/py-sample-app-debug .
docker run --rm asoldatenko/py-sample-app-debug env | grep GIT_HASHGIT_HASH=80907a7
```