A step-by-step walkthrough for debugging Linux user-space applications using VS Code over SSH. Covers installing the Remote Development extension, connecting to a remote Linux target (demonstrated on an NXP i.MX93 board but applicable to Raspberry Pi or any Linux system), compiling a C program with debug symbols using gcc -ggdb, configuring a launch.json for GDB, and launching a remote debug session entirely within VS Code's GUI.

4m read timeFrom mcuoneclipse.com
Post cover image
Table of contents
OutlinePreconditionsHello WorldVS CodeOpen Project DirectoryBuilding with debug informationDebuggingUpdate launch.jsonStart DebuggingSummary