opencode-debug
Debug OpenCode connections and logging
TLDR
Enable debug logging
$ opencode debug
Debug OAuth connection for MCP servers$ opencode debug mcp
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.
INSTALL
sudo pacman -S opencode
brew install opencode
nix profile install nixpkgs#opencode
SEE ALSO
opencode(1), opencode-mcp(1)