Where Them
Logs App
WTLA-01

Visual Studio Code

3 log locations · Windows, macOS, Linux

Microsoft Corporation

Where Visual Studio Code keeps its logs

Visual Studio Code logs to %APPDATA%\Code\logs\ on Windows.

Visual Studio Code logs to ~/Library/Application Support/Code/logs/ on macOS.

Visual Studio Code logs to ~/.config/Code/logs/ on Linux.

Paths are printed exactly as Visual Studio Code writes them. Environment variables like %LOCALAPPDATA% and $XDG_STATE_HOME are never expanded, so a path can be pasted straight into a shell. Where a path differs between installer types or shipping flavours, each one is racked as its own card below - why that happens.

Finding your way around Windows, macOS and Linux.

Visual Studio Code log file locations - Windows, macOS, Linux · Where Them Logs App