Skip to content

Commit

Permalink
Fix debug configurations for vs code (#5708)
Browse files Browse the repository at this point in the history
- Fixed naming and added a missing debug config for rq workers
  • Loading branch information
zhiltsov-max authored Feb 21, 2023
1 parent d0c419c commit e95aa38
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"justMyCode": false,
},
{
"name": "REST API tests: Attach to RQ low",
"name": "REST API tests: Attach to RQ annotation worker",
"type": "python",
"request": "attach",
"connect": {
Expand All @@ -45,7 +45,7 @@
"justMyCode": false,
},
{
"name": "REST API tests: Attach to RQ default",
"name": "REST API tests: Attach to RQ export worker",
"type": "python",
"request": "attach",
"connect": {
Expand All @@ -64,6 +64,26 @@
],
"justMyCode": false,
},
{
"name": "REST API tests: Attach to RQ import worker",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 9093
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/home/django/"
},
{
"localRoot": "${workspaceFolder}/.env",
"remoteRoot": "/opt/venv",
}
],
"justMyCode": false,
},
{
"type": "pwa-chrome",
"request": "launch",
Expand Down

0 comments on commit e95aa38

Please sign in to comment.