How to attach to remote gdb with vscode?
问题 I want to do remote C/C++ gdb debug with vscode. I use "Native Debug" extension where I do configuration. Here is my launch.json configuration { "type": "gdb", "request": "launch", "name": "Launch Program (SSH)", "target": "./hello", "cwd": "/home/root/test1/", "ssh": { "host": "192.168.15.130", "cwd": "/home/root/test1/", "password": "", "user": "root" } And at target I run gdbserver localhost:2000 ./hello Unfortunately after I can't sill connect with remote device to debug. Is there someone