- Install the "C++", "Dev Containers", "CMake", "CMake Tools" under marketplace
- After that, crtl + shift + p and search "attach"
- Then, you can create a root folder, ".vscode" and create a new file named as "settings.json" as below:-
{
"cmake.debugConfig": {
"args": [
"arg1",
"arg2",
"--flag",
"value"
]
}
}
4. Finally, crtl + shift + p -> CMake Debug
No comments:
Post a Comment