1{ 2 "version": "0.2.0", 3 "configurations": [ 4 { 5 "name": "Debug-@TARGET_NAME@", 6 "type": "cppdbg", 7 "request": "launch", 8 "program": "${workspaceRoot}/build/src/apps/@APPLICATION@/@TARGET_NAME@", 9 "args": [], 10 "stopAtEntry": true, 11 "cwd": "${workspaceRoot}", 12 "environment": [], 13 "externalConsole": false, 14 "debugServerArgs": "-f interface/@OPENOCD_INTERFACE@ -f target/@OPENOCD_TARGET@", 15 "serverLaunchTimeout": 20000, 16 "filterStderr": true, 17 "filterStdout": false, 18 "serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware", 19 "setupCommands": [ 20 { "text": "cd ${workspaceRoot}/build" }, 21 { "text": "file src/apps/@APPLICATION@/@TARGET_NAME@", "description": "load file", "ignoreFailures": false}, 22 { "text": "target extended-remote localhost:3333", "description": "connect to target", "ignoreFailures": false }, 23 { "text": "monitor reset halt", "description": "perform a reset and halt the target", "ignoreFailures": false }, 24 { "text": "load", "description": "flash target", "ignoreFailures": false }, 25 { "text": "monitor reset init", "description": "perform a reset and init the target", "ignoreFailures": false }, 26 { "text": "set output-radix 16", "description": "set the default numeric base to 16", "ignoreFailures": false } 27 ], 28 "logging": { 29 "moduleLoad": true, 30 "trace": true, 31 "engineLogging": true, 32 "programOutput": true, 33 "exceptions": true 34 }, 35 "MIMode": "gdb", 36 "miDebuggerPath": "@GDB_BIN@", 37 "debugServerPath": "@OPENOCD_BIN@" 38 } 39 ] 40} 41