Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"ms-python.python",
"ms-python.vscode-pylance"
"ms-python.vscode-pylance",
"batisteo.vscode-django"
]
}
102 changes: 94 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,92 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Queue Processor Docker Attach",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/autoreduce"
}
],
"presentation": {
"hidden": false,
"group": "autoreduce-docker",
"order": 1
},
"preLaunchTask": "Run Docker Queue Processor",
"postDebugTask": "Kill queue-processor-debugpy"
},
{
"name": "Webapp Docker Attach",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5679
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/autoreduce"
}
],
"presentation": {
"hidden": false,
"group": "autoreduce-docker",
"order": 1
},
"preLaunchTask": "Run Docker Web App",
"postDebugTask": "Kill webapp-debugpy"
},
{
"name": "pytest Docker Attach",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5680
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/autoreduce"
}
],
"presentation": {
"hidden": false,
"group": "autoreduce-docker",
"order": 1
},
"preLaunchTask": "Run Docker pytest",
},
{
"name": "pytest django Docker Attach",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5681
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/autoreduce"
}
],
"presentation": {
"hidden": false,
"group": "autoreduce-docker",
"order": 1
},
"preLaunchTask": "Run Docker pytest django",
},
{
"name": "Pytest",
"type": "python",
Expand All @@ -16,7 +102,7 @@
],
"presentation": {
"hidden": false,
"group": "autoreduce",
"group": "autoreduce-native",
},
"env": {
"DISPLAY": ":1",
Expand All @@ -34,7 +120,7 @@
"django": true,
"presentation": {
"hidden": false,
"group": "autoreduce",
"group": "autoreduce-native",
},
"env": {
"DISPLAY": ":1",
Expand All @@ -56,7 +142,7 @@
],
"presentation": {
"hidden": false,
"group": "autoreduce",
"group": "autoreduce-native",
},
"env": {
"RUNNING_VIA_PYTEST": "true"
Expand All @@ -74,8 +160,8 @@
"django": true,
"presentation": {
"hidden": false,
"group": "autoreduce",
"order": 1
"group": "autoreduce-native",
"order": 99
},
},
{
Expand All @@ -86,8 +172,8 @@
"console": "integratedTerminal",
"presentation": {
"hidden": false,
"group": "autoreduce",
"order": 2
"group": "autoreduce-native",
"order": 98
}
},
{
Expand All @@ -104,6 +190,6 @@
"remoteRoot": "/autoreduce"
}
]
}
},
]
}
Loading