From 7f32daa6f365cab37bba94be74316de729559819 Mon Sep 17 00:00:00 2001 From: Eugene Lykov Date: Mon, 29 Dec 2025 14:04:07 +0000 Subject: [PATCH] Client fix --- .vscode/launch.json | 28 ++++++++++++++++++++++++++-- src/config/client/CollectorConfig.h | 2 +- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 490b84c..60aeb18 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,10 +5,34 @@ "version": "0.2.0", "configurations": [ { - "name": "esDashboard", + "name": "Server", "type": "cppdbg", "request": "launch", - "program": "${workspaceFolder}/bin/Debug/bin/esDashboard", + "program": "${workspaceFolder}/bin/Debug/bin/esDashboard-Server", + "args": [], + "stopAtEntry": false, + "cwd": "${fileDirname}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "Set Disassembly Flavor to Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] + }, + { + "name": "Client", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/bin/Debug/bin/esDashboard-Client", "args": [], "stopAtEntry": false, "cwd": "${fileDirname}", diff --git a/src/config/client/CollectorConfig.h b/src/config/client/CollectorConfig.h index a58df13..c93ad86 100644 --- a/src/config/client/CollectorConfig.h +++ b/src/config/client/CollectorConfig.h @@ -7,6 +7,6 @@ namespace config::client { struct CollectorConfig { - std::vector> disks{{{"R", "/"}}}; + std::vector> disks{{"R", "/"}}; }; } // namespace config::client