From 4a3f4b133b726ea51d80593a98256682e5f8a232 Mon Sep 17 00:00:00 2001 From: Hu Chunming <2657262686@qq.com> Date: Wed, 10 Jul 2024 15:27:26 +0800 Subject: [PATCH] 更新配置 --- .vscode/launch.json | 64 +++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 41 insertions(+), 23 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index f4a5b5d..77f9033 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,27 +1,45 @@ { - // 使用 IntelliSense 了解相关属性。 - // 悬停以查看现有属性的描述。 - // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ + "version": "0.2.0", + "configurations": [ + { + "name": "gb28181", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/bin/sip_server", + "args": [ + "34020000001310000001" + ], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/bin", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ { - "name": "gb28181", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/bin/sip_server", - "args": ["34020000001310000001"], - "stopAtEntry": false, - "cwd": "${workspaceFolder}/bin", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "setupCommands": [ - { - "description": "Enable pretty-printing for gdb", - "text": "-enable-pretty-printing", - "ignoreFailures": true - } - ] + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true } - ] + ] + }, + { + "name": "C/C++ Runner: Debug Session", + "type": "cppdbg", + "request": "launch", + "args": [], + "stopAtEntry": false, + "externalConsole": false, + "cwd": "/home/cmhu/sip_server/sip/Message", + "program": "/home/cmhu/sip_server/sip/Message/build/Debug/outDebug", + "MIMode": "gdb", + "miDebuggerPath": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] } \ No newline at end of file -- libgit2 0.21.4