From ece3b41377ea0edef56f2ce4579311d0359ad6f1 Mon Sep 17 00:00:00 2001 From: Martijn Govers Date: Tue, 17 Dec 2024 14:58:07 +0100 Subject: [PATCH 1/2] also add launch configuration for windows Signed-off-by: Martijn Govers --- .vscode/launch.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index faa4a0191..9896cd1ef 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,7 +5,7 @@ "version": "0.2.0", "configurations": [ { - "name": "Debug validation test", + "name": "Debug validation test [Unix]", "type": "cppdbg", "request": "launch", "program": "${command:cmake.buildDirectory}/bin/power_grid_model_validation_tests", @@ -23,6 +23,20 @@ "osx": { "MIMode": "lldb" }, + }, + { + "name": "Debug validation test [Windows]", + "type": "cppvsdbg", + "request": "launch", + "program": "${command:cmake.buildDirectory}/bin/power_grid_model_validation_tests.exe", + "args": [ + "--test-case=Validation test single", + "--subcase=power_flow/1os2msr-sym-newton_raphson" + ], + "stopAtEntry": false, + "cwd": "${fileDirname}", + "environment": [], + "externalConsole": false, } ] } \ No newline at end of file From 569d8aa8f5b4e2214e2ae88696164b4e99f8fcab Mon Sep 17 00:00:00 2001 From: Martijn Govers Date: Tue, 17 Dec 2024 15:01:08 +0100 Subject: [PATCH 2/2] fix deprecated Signed-off-by: Martijn Govers --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 9896cd1ef..f13975366 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -36,7 +36,7 @@ "stopAtEntry": false, "cwd": "${fileDirname}", "environment": [], - "externalConsole": false, + "console": "integratedTerminal", } ] } \ No newline at end of file