|
| 1 | +{ |
| 2 | + "version": "0.2.0", |
| 3 | + "configurations": [ |
| 4 | + { |
| 5 | + "name": "run_ws_heartbeat", |
| 6 | + "type": "debugpy", |
| 7 | + "request": "launch", |
| 8 | + "program": "manage.py", |
| 9 | + "args": ["run_ws_heartbeat"], |
| 10 | + "django": true, |
| 11 | + "preLaunchTask": "stop awx-ws-heartbeat", |
| 12 | + "postDebugTask": "start awx-ws-heartbeat" |
| 13 | + }, |
| 14 | + { |
| 15 | + "name": "run_cache_clear", |
| 16 | + "type": "debugpy", |
| 17 | + "request": "launch", |
| 18 | + "program": "manage.py", |
| 19 | + "args": ["run_cache_clear"], |
| 20 | + "django": true, |
| 21 | + "preLaunchTask": "stop awx-cache-clear", |
| 22 | + "postDebugTask": "start awx-cache-clear" |
| 23 | + }, |
| 24 | + { |
| 25 | + "name": "run_callback_receiver", |
| 26 | + "type": "debugpy", |
| 27 | + "request": "launch", |
| 28 | + "program": "manage.py", |
| 29 | + "args": ["run_callback_receiver"], |
| 30 | + "django": true, |
| 31 | + "preLaunchTask": "stop awx-receiver", |
| 32 | + "postDebugTask": "start awx-receiver" |
| 33 | + }, |
| 34 | + { |
| 35 | + "name": "run_dispatcher", |
| 36 | + "type": "debugpy", |
| 37 | + "request": "launch", |
| 38 | + "program": "manage.py", |
| 39 | + "args": ["run_dispatcher"], |
| 40 | + "django": true, |
| 41 | + "preLaunchTask": "stop awx-dispatcher", |
| 42 | + "postDebugTask": "start awx-dispatcher" |
| 43 | + }, |
| 44 | + { |
| 45 | + "name": "run_rsyslog_configurer", |
| 46 | + "type": "debugpy", |
| 47 | + "request": "launch", |
| 48 | + "program": "manage.py", |
| 49 | + "args": ["run_rsyslog_configurer"], |
| 50 | + "django": true, |
| 51 | + "preLaunchTask": "stop awx-rsyslog-configurer", |
| 52 | + "postDebugTask": "start awx-rsyslog-configurer" |
| 53 | + }, |
| 54 | + { |
| 55 | + "name": "run_cache_clear", |
| 56 | + "type": "debugpy", |
| 57 | + "request": "launch", |
| 58 | + "program": "manage.py", |
| 59 | + "args": ["run_cache_clear"], |
| 60 | + "django": true, |
| 61 | + "preLaunchTask": "stop awx-cache-clear", |
| 62 | + "postDebugTask": "start awx-cache-clear" |
| 63 | + }, |
| 64 | + { |
| 65 | + "name": "run_wsrelay", |
| 66 | + "type": "debugpy", |
| 67 | + "request": "launch", |
| 68 | + "program": "manage.py", |
| 69 | + "args": ["run_wsrelay"], |
| 70 | + "django": true, |
| 71 | + "preLaunchTask": "stop awx-wsrelay", |
| 72 | + "postDebugTask": "start awx-wsrelay" |
| 73 | + }, |
| 74 | + { |
| 75 | + "name": "daphne", |
| 76 | + "type": "debugpy", |
| 77 | + "request": "launch", |
| 78 | + "program": "/var/lib/awx/venv/awx/bin/daphne", |
| 79 | + "args": ["-b", "127.0.0.1", "-p", "8051", "awx.asgi:channel_layer"], |
| 80 | + "django": true, |
| 81 | + "preLaunchTask": "stop awx-daphne", |
| 82 | + "postDebugTask": "start awx-daphne" |
| 83 | + }, |
| 84 | + { |
| 85 | + "name": "runserver(uwsgi alternative)", |
| 86 | + "type": "debugpy", |
| 87 | + "request": "launch", |
| 88 | + "program": "manage.py", |
| 89 | + "args": ["runserver", "127.0.0.1:8052"], |
| 90 | + "django": true, |
| 91 | + "preLaunchTask": "stop awx-uwsgi", |
| 92 | + "postDebugTask": "start awx-uwsgi" |
| 93 | + }, |
| 94 | + { |
| 95 | + "name": "runserver_plus(uwsgi alternative)", |
| 96 | + "type": "debugpy", |
| 97 | + "request": "launch", |
| 98 | + "program": "manage.py", |
| 99 | + "args": ["runserver_plus", "127.0.0.1:8052"], |
| 100 | + "django": true, |
| 101 | + "preLaunchTask": "stop awx-uwsgi and install Werkzeug", |
| 102 | + "postDebugTask": "start awx-uwsgi" |
| 103 | + }, |
| 104 | + { |
| 105 | + "name": "shell_plus", |
| 106 | + "type": "debugpy", |
| 107 | + "request": "launch", |
| 108 | + "program": "manage.py", |
| 109 | + "args": ["shell_plus"], |
| 110 | + "django": true, |
| 111 | + }, |
| 112 | + ] |
| 113 | +} |
0 commit comments