Skip to content

Instantly share code, notes, and snippets.

@mfornet
Last active March 7, 2021 10:02
Show Gist options
  • Save mfornet/83ade6849f3e8fb368a15411ab204f94 to your computer and use it in GitHub Desktop.
Save mfornet/83ade6849f3e8fb368a15411ab204f94 to your computer and use it in GitHub Desktop.
Debug configuration files for https://github.com/mfornet/acmx
{
"version": "0.2.0",
"configurations": [{
"name": "Launch with lldb",
"type": "lldb",
"request": "launch",
"program": "${fileDirname}/attic/sol",
"args": ["${fileDirname}"],
"cwd": "${workspaceFolder}",
"stdio": ["${fileDirname}/testcases/0.in"],
"preLaunchTask": "Build active file"
}]
}
{
"version": "2.0.0",
"tasks": [{
"type": "shell",
"label": "Build active file",
"command": "/usr/bin/g++",
"args": [
"-std=c++17",
"-DACMX",
"--debug",
"${file}",
"-o",
"${fileDirname}/attic/${fileBasenameNoExtension}"
]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment