I have running container with Python app and WSGI configuration that accepts bunch of GET parameters. The goal is requesting the app through browser(or curl) and get working breakpoints using VSCode Remote - Containers extension.
Host OS: Fedora 28, Container OS: CentOS 7
Docker details:
- Docker v18.09.9
- No Dockerfile(just running container)
- Docker network using
- Container IP is 172.18.0.2
- App directory is mounted from host filesystem
App details:
- No frameworks
- Just Python3 with several modules
- Virtual environment using
IDE details:
- VSCode v1.38.1
- Remote - Containers extension
- Python extension(installed in attached container also)
In VSCode I can Attach to Running Container, then open app directory that mounted earlier and edit code, install packages etc. It's ok, but I stuck with debug configuration, predefined items(Flask, Django etc) don't match my workflow.
How to tweak launch.json file for that purpose?