Open vharron opened 1 year ago
This repository is meant to be an example of a functional C++ editor environment using Dev Containers. If you use a tool that interacts with the devcontainer.json specification (such as VS Code's Dev Containers extension or the Dev Containers reference CLI implementation), it should work.
The Dev Container file in this repository should install the C++ tools extension for you.
host: macOS Monterey 12.6 (Intel) docker: 4.15.0 (93002) vscode: Version: 1.54.1 (Universal) Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8
REPRO
vince@aeris tmp % git clone https://github.com/Microsoft/vscode-remote-try-cpp Cloning into 'vscode-remote-try-cpp'... remote: Enumerating objects: 141, done. remote: Counting objects: 100% (21/21), done. remote: Compressing objects: 100% (16/16), done. remote: Total 141 (delta 6), reused 18 (delta 5), pack-reused 120 Receiving objects: 100% (141/141), 57.20 KiB | 1.06 MiB/s, done. Resolving deltas: 100% (61/61), done. vince@aeris tmp %
vscode Open folder: ~/tmp/vscode-remote-try-cpp
try to set breakpoint in main.cpp (doesn't work)
Go to extensions, install cpptools, then I'm able to set a breakpoint.