[vscode] run debug c++

  [vscode] SSH connects to the remote server Host/container_Friend Xiao A's blog-CSDN blog At this time, all containers will be captured. If you want to modify individual files, you don't need to perform operation 5. For less modification, This way is more convenient. Install the vscode plug-in c/c++ and cmake, choose to install it on the remote server, and you can jump after installation. Install the vscode plug-in "Git History", and you can view the history of code modification after installation. Refresh Remote Explorer -> "Connect in New Window" -> "Linux" -> "Open Folder" so that you can view and modify files, but the code may not be able to jump, and the git history cannot be displayed. (2) Step 1.1 --> Open ssh in the container. https://blog.csdn.net/zmj1582188592/article/details/130152162 

VScode tasks.json and launch.json settings - Zhihu directory C++ (method 1: do not use the VSCode plugin, more cumbersome) C++ (method 2: use the Native Debug plugin) C++ (method 3: use the C/C++ Compile Run plugin) Rust (using Native Debug plugin) Typescript (for reference only, this is the project setting when writing vscode plugin... https://zhuanlan.zhihu.com/p/92175757

 Vscode uses cmake to compile and debug C++ projects under Linux remotely. If you want to fully use vscode to develop C++ projects remotely, you need to have a basic understanding of three links: (1) the principle of remote access; (2) vscode configuration files (3) Compilation and debugging of C++ projects For (1), simply speaking, vscode will communicate with the remote through ssh (secure shell)… https://zhuanlan.zhihu.com/p/583875722?utm_id=0

Guess you like

Origin blog.csdn.net/zmj1582188592/article/details/130153994