Skip to content

Instantly share code, notes, and snippets.

@eddyekofo94
Created April 16, 2019 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eddyekofo94/fd83037ffe3337d73eee142174038ab0 to your computer and use it in GitHub Desktop.
Save eddyekofo94/fd83037ffe3337d73eee142174038ab0 to your computer and use it in GitHub Desktop.
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "/home/eekofo/eekofo/Documents/Other/CPP/lab1/main.out",
"args": ["-fThreading"],
"stopAtEntry": true,
"cwd": "/home/eekofo/eekofo/Documents/Other/CPP/lab1/",
"environment": [],
"externalConsole": true,
"windows": {
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
"pipeTransport": {
"pipeCwd": "",
"pipeProgram": "c:\\windows\\sysnative\\bash.exe",
"pipeArgs": ["-c"],
"debuggerPath": "/usr/bin/gdb"
},
"sourceFileMap": {
"/mnt/c": "c:\\",
"/usr": "C:/Users/<my windows user name>/AppData/Local/Packages/CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc/LocalState/rootfs/usr/"
}
}
]
}
{
"version": "2.0.0",
"tasks": [
{
"label": "lab1 WSL",
"type": "shell",
"command": "g++",
"args": [
"-g",
"-o",
"/home/eekofo/eekofo/Documents/Other/CPP/lab1/main.out",
"main.cpp"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment