Skip to content

Commit

Permalink
vscode launch config: add autostart options
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Nov 3, 2024
1 parent 1a8a407 commit eba774c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"gevent": true
},
{
"name": "Run locust",
"name": "Run locust headless",
"type": "python",
"request": "launch",
"module": "locust",
Expand All @@ -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
}
]
}

0 comments on commit eba774c

Please sign in to comment.