kitsune/.vscode/launch.json

75 строки
2.0 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Kitsune",
"type": "debugpy",
"request": "launch",
"django": true,
"program": "${workspaceFolder}/manage.py",
"args": [
"runserver",
"0.0.0.0:8000"
]
},
{
"name": "Kitsune Tests",
"type": "debugpy",
"request": "launch",
"django": true,
"program": "${workspaceFolder}/manage.py",
"args": [
"test"
]
},
{
"name": "Kitsune Wiki Tests",
"type": "debugpy",
"request": "launch",
"django": true,
"program": "${workspaceFolder}/manage.py",
"args": [
"test",
"kitsune.wiki.tests"
]
},
{
"name": "Kitsune Messages Tests",
"type": "debugpy",
"request": "launch",
"django": true,
"program": "${workspaceFolder}/manage.py",
"args": [
"test",
"kitsune.messages.tests"
]
},
{
"name": "Kitsune (Gunicorn)",
"type": "debugpy",
"request": "launch",
"django": true,
"program": "/venv/bin/gunicorn",
"env": {
"GEVENT_SUPPORT": "True"
},
"args": [
"wsgi.app",
"--config",
"wsgi/config.py"
]
},
{
"name": "Attach to .vscode/debug-python",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
}
}
]
}