Skip to content

Settings Reference

All settings are prefixed with logscope. and can be set in VS Code’s settings.json or through the Settings UI.

SettingTypeDefaultDescription
logscope.transport"rtt" | "uart""rtt"Transport mode for reading log data
logscope.autoConnectbooleanfalseAutomatically connect to the last-used device on startup
logscope.lastDevicestring""Last connected device serial number (set automatically)
logscope.parser"zephyr" | "nrf5" | "raw""zephyr"Log format parser
SettingTypeDefaultDescription
logscope.nrfutil.pathstring"nrfutil"Path to nrfutil binary
logscope.rtt.pollIntervalnumber50RTT poll interval in milliseconds
logscope.jlink.pathstring""Path to JLinkExe. Leave empty to auto-detect.
logscope.jlink.devicestring"Cortex-M33"Default target device name for J-Link. Overridden by per-probe settings in jlink.deviceOverrides.
logscope.jlink.deviceOverridesobject{}Per-probe J-Link device overrides. Maps probe serial number to target device name (e.g., {"777195662": "STM32F401RE"}). Set automatically via Change Settings.
logscope.jlink.remoteHoststring""Host or IP of a remote J-Link server to connect to instead of a locally-attached probe. Leave empty for local probes. Experimental; full UI for remote-RTT is in progress.
logscope.jlink.rttSearchRangesstring"0x20000000 0x80000"RTT control block search range (base size in hex). Default covers 512KB starting at 0x20000000.
logscope.rtt.silenceThresholdnumber30Seconds of RTT silence before LogScope attempts a host-side RTT restart. Quiet devices (BLE peripherals waiting for connections, sensors logging once a minute) commonly go 30s+ without logs. Set to 0 to disable silence-based recovery entirely. Real RTT errors (read failures, dropped probe) are still recovered separately.
SettingTypeDefaultDescription
logscope.uart.baudRatenumber115200Serial baud rate. Supported: 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 1000000.
logscope.uart.dataBitsnumber8Data bits per UART frame. Supported: 5, 6, 7, 8. Most modern firmware uses 8.
logscope.uart.stopBitsstring"1"Stop bits per UART frame. Supported: "1", "1.5", "2". Most modern firmware uses 1.
logscope.uart.paritystring"none"UART parity. Supported: "none", "odd", "even", "mark", "space". "none" is the most common.
logscope.uart.lastPortstring""Last used serial port (set automatically)

The data bits / stop bits / parity settings can also be changed from the LogScope: Change Settings command (sidebar gear icon → Change Settings) once you’re connected via UART.

SettingTypeDefaultDescription
logscope.logWrapbooleanfalseWrap long log messages
logscope.timeFormat"24h" | "12h""24h"Time format for the Local Time column
logscope.maxEntriesnumber100000Maximum log entries to keep in memory
logscope.columnWidthsobject{}Persisted log-viewer column widths in pixels (keys: time, ts, sev, mod). Set automatically when you drag a column edge or double-click a column edge to auto-fit.
SettingTypeDefaultDescription
logscope.watchPatternsarray[]Watch patterns to match against incoming log lines

Each watch pattern object has these fields:

FieldTypeRequiredDescription
namestringYesDisplay name for the pattern
patternstringYesText to match (substring or regex)
regexbooleanNoTreat pattern as a regular expression (default: false)
modulestringNoOnly match entries from this module (case-insensitive)
colorstringNoHex color for the marker (e.g., "#ff9800"). Auto-assigned if omitted.
"logscope.watchPatterns": [
{
"name": "Errors",
"pattern": "failed|error|timeout",
"regex": true,
"color": "#f44336"
},
{
"name": "Heartbeat",
"pattern": "Heartbeat"
}
]