diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2022-01-05 09:25:18 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-01-05 10:09:17 +0100 |
| commit | c9cfa6181bdbec630e90c6bb729996eb28cacf90 (patch) | |
| tree | 156ab6c717d77901f15a2012c7580bdd15b3dd69 /tests/unit/test_query.py | |
| parent | 00d3a7477c01981a6ef2d396332670ad5b831fa6 (diff) | |
[fix] debug console (pdb) in a session started by `make run`
Commit c7f27404 moves the `python -m searx.webapp` process to the background. A
background job can't open a simple python-debugger (pdb) console.
This patch moves all processes to the background except the searx.webapp.
Insert a break point somewhere in the webapp application::
import pdb
pdb.set_trace()
And start a debug session by::
make run
and test you break point.
To test that the entire 'make run' stops in the case of an error in the
themes.live [1] background process try:
make LIVE_THEME=typo-theme-name run
[1] https://github.com/searxng/searxng/pull/664#discussion_r776419585
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'tests/unit/test_query.py')
0 files changed, 0 insertions, 0 deletions