From 1cd71dfe5f7db01048368f7ff191f17f9582a2fe Mon Sep 17 00:00:00 2001 From: John Colvin Date: Wed, 31 Jul 2024 00:08:12 -0400 Subject: [PATCH] vscode: Add debug cfg for spark api server --- .vscode/launch.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 4f1969a92..c2f6d9c78 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -14,6 +14,41 @@ "type": "coreclr", "request": "attach" }, + { + "name": "Api Server", + "type": "coreclr", + "request": "launch", + "program": "", + "windows": { + "preLaunchTask": "Build Api Server (Debug)", + "program": "spark_api_server.exe", + "args": [ + "run", + "--sparkd", + "http://127.0.0.1:8000/config" + ], + "cwd": "build/Debug/bin/net7.0", + }, + "stopAtEntry": false, + "console": "integratedTerminal" + }, + { + "name": "Api Server (Skip Build)", + "type": "coreclr", + "request": "launch", + "program": "", + "windows": { + "program": "spark_api_server.exe", + "args": [ + "run", + "--sparkd", + "http://127.0.0.1:8000/config" + ], + "cwd": "build/Debug/bin/net7.0", + }, + "stopAtEntry": false, + "console": "integratedTerminal" + }, { "name": "Bts.DataStreamWebApp.Server", "type": "coreclr",