# VS Code debugger
## Language support
- Default: JavaScript, TypeScript, or any other language that gets transpiled to JavaScript
- With an extension: Python, PHP, Ruby, Go, C#, C++, PowerShell and many others
## Debug tests in VS Code
- check variables using breakpoints
- check call stack
- check functions are being called
- avoid multiple console.logs
## Debug code in DevTools
- alt+cmd+F to search files
- put breakpoints where you want to assert variables
## Pros/Cons
- slow
- takes some time to get used to
- can give you better insight when debugging functions which don't throw exceptions but give unexpected output
- can be more powerful when debugging complex calls
- can ultimately save time if used well