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