LinuxCommandLibrary

opencode-debug

Debug OpenCode connections and logging

TLDR

Enable debug logging

$ opencode debug
copy
Debug OAuth connection for MCP servers
$ opencode debug mcp
copy

SYNOPSIS

opencode debug [options]

DESCRIPTION

opencode debug enables debug logging and provides diagnostics for OpenCode. It can diagnose OAuth connection issues with MCP (Model Context Protocol) servers and output verbose logs for troubleshooting configuration or connectivity problems.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard