Skip to content

Instantly share code, notes, and snippets.

@agtbaskara
Created August 11, 2018 17:37
Show Gist options
  • Save agtbaskara/de04db8b6a31522dd1e62c43aa6e0f89 to your computer and use it in GitHub Desktop.
Save agtbaskara/de04db8b6a31522dd1e62c43aa6e0f89 to your computer and use it in GitHub Desktop.
launch.json file for build and run C++ program with OpenCV 3.4.1 using Mingw-w64 in Visual Studio Code
{
// 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": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "build it"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment