{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Docker C++ Debug", "type": "cppdbg", "request": "launch", "program": "/app/a.out", "args": [], "stopAtEntry": true, "cwd": "/app", "environment": [], "externalConsole": false, "pipeTransport": { "debuggerPath": "/usr/bin/gdb", "pipeProgram": "ssh", "pipeArgs": [ "root@localhost", "-p", "2222", "-i", "${workspaceFolder}/key", "-o", "StrictHostKeychecking=no", "/usr/bin/gdb --interpreter=mi" ] }, "sourceFileMap": { "/app": "${workspaceFolder}" }, "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }, { "description": "skip libpoly", "text": "skip -gfi libpoly.so", "ignoreFailures": false } ] } ] }