VS Code has built-in debugging. Press F5 to start. Click the gutter to set breakpoints. When paused:
- Variables panel shows current values
- Watch panel tracks expressions you specify
- Call Stack shows how you got here
- Debug Console lets you evaluate expressions
For Node.js, use the JavaScript Debug Terminal. For Python, install the Python extension. Most languages have debugger support.