From b46e141762d5490914d5e8fee1519bf3776b9cac Mon Sep 17 00:00:00 2001 From: nmzik Date: Sat, 29 Aug 2026 00:56:21 +0400 Subject: [PATCH] dev: add Linux overrides to VS Code launch configurations --- .vscode/launch.json | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 0c51cfa6..b51c1770 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,14 @@ "stopAtEntry": false, "cwd": "${workspaceFolder}\\_Build\\vscode-clang\\launcher", "environment": [], - "externalConsole": false + "externalConsole": false, + "linux": { + "type": "cppdbg", + "program": "${workspaceFolder}/_Build/vscode-clang/launcher/launcher", + "cwd": "${workspaceFolder}/_Build/vscode-clang/launcher", + "MIMode": "gdb", + "miDebuggerPath": "/usr/bin/gdb" + } }, { "name": "Debug kyty_emulator", @@ -25,13 +32,25 @@ "stopAtEntry": false, "cwd": "${workspaceFolder}\\_Build\\vscode-clang", "environment": [], - "externalConsole": true + "externalConsole": true, + "linux": { + "type": "cppdbg", + "program": "${workspaceFolder}/_Build/vscode-clang/kyty_emulator", + "cwd": "${workspaceFolder}/_Build/vscode-clang", + "MIMode": "gdb", + "miDebuggerPath": "/usr/bin/gdb" + } }, { "name": "Attach to running kyty_emulator", "type": "cppvsdbg", "request": "attach", - "processId": "${command:pickProcess}" + "processId": "${command:pickProcess}", + "linux": { + "type": "cppdbg", + "MIMode": "gdb", + "miDebuggerPath": "/usr/bin/gdb" + } } ] }