mark the main process to make it easier to pick process for debug
This commit is contained in:
parent
0548e5e73a
commit
f689b4b7eb
2 changed files with 7 additions and 1 deletions
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
|
|
@ -34,6 +34,12 @@
|
|||
"YTP_URL_HOST": "http://localhost:8081",
|
||||
"YTP_LOG_LEVEL": "DEBUG"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Python: attach to process.",
|
||||
"type": "debugpy",
|
||||
"request": "attach",
|
||||
"processId": "${command:pickProcess}",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,4 +67,4 @@ HEALTHCHECK --interval=10s --timeout=20s --start-period=10s --retries=3 CMD [ "/
|
|||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
CMD ["/app/.venv/bin/python", "/app/app/main.py"]
|
||||
CMD ["/app/.venv/bin/python", "/app/app/main.py", "--mainprocess"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue