From 24cbfd9062f0905d0f00b1413fb8a593d9fbf806 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 7726ce360..6d6e6887d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,6 +6,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",