From ef518cd9aa0131cac584bc37b7889b4c3d0fb790 Mon Sep 17 00:00:00 2001 From: Lan Phan Date: Fri, 22 Mar 2024 11:35:41 +0700 Subject: [PATCH] add vscode launch file for run/debug easier in vscode --- .vscode/launch.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..3f7be724c8 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + // 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": "Launch bbgo", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}/cmd/bbgo", + "cwd": "${workspaceFolder}", + "env": {}, + "args": ["backtest", "--debug"], + "showLog": true + } + ] +} \ No newline at end of file