Skip to content

Commit

Permalink
Support C Module (#197)
Browse files Browse the repository at this point in the history
* Support C Module

* Update debug name
  • Loading branch information
formulahendry authored Jul 11, 2018
1 parent 58a7a27 commit 1ab8637
Show file tree
Hide file tree
Showing 5 changed files with 555 additions and 43 deletions.
50 changes: 50 additions & 0 deletions assets/solution/launch_c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "%MODULE% Remote Debug (C)",
"type": "cppdbg",
"request": "attach",
"program": "./main",
"processId": "${command:pickRemoteProcess}",
"pipeTransport": {
"pipeCwd": "${workspaceFolder}",
"pipeProgram": "docker",
"pipeArgs": [
"exec",
"-i",
"%MODULE%",
"sh",
"-c"
],
"debuggerPath": "/usr/bin/gdb"
},
"sourceFileMap": {
"%APP_FOLDER%": "${workspaceFolder}/modules/%MODULE_FOLDER%"
},
"linux": {
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
"osx": {
"MIMode": "lldb"
},
"windows": {
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
}
]
}
Loading

0 comments on commit 1ab8637

Please sign in to comment.