diff --git a/.vscode/launch.json b/.vscode/launch.json index 3e776b9ca0..d0489760cd 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "gevent": true }, { - "name": "Run locust", + "name": "Run locust headless", "type": "python", "request": "launch", "module": "locust", @@ -22,6 +22,22 @@ ], "console": "integratedTerminal", "gevent": true + }, + { + "name": "Run locust, autostart", + "type": "python", + "request": "launch", + "module": "locust", + "args": [ + "-f", + "${file}", + "--users=5", + "--autostart", + "--print-stats", + "-L=ERROR" + ], + "console": "integratedTerminal", + "gevent": true } ] } \ No newline at end of file