How to specify custom gdb path in debug configuration

Hi,
I use cdt-gdb-vscode in eclipse theia application in linux. it is ok when I debug c++ code by default gdb. debug config as follows
{
“name”: “c++ test”,
“types”: “gdb”,
“request”: “launch”,
“program”: “my c++ a.out”,
“cwd”: “${workspaceFolder}”
}
now I want to use my custom gdb to debug some specific c++ code. I set miDebuggerPath in the configuration, but the debugger still uses default gdb, not my custom gdb debugger. config as follows, I am not sure whether theia/debugger support miDebuggerPath, or if I need to set other parameters for my purpose.
{
“name”: “custom gdb c++ test”,
“types”: “gdb”,
“request”: “launch”,
“program”: “my c++ a.out”,
“cwd”: “${workspaceFolder}”,
“MIMode”: “gdb”,
“miDebuggerPath”: “path/to/my/custom gdb”
}

@wss The cdt-gdb-vscode extension simply uses a gdb property to configure the path to the gdb debugger instance. You can find all configuration options in the linked package.json.