
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
opencode-debug-agent
Advanced tools
OpenCode plugin for runtime debugging - capture and analyze execution data
OpenCode plugin for runtime debugging - capture and analyze execution data via HTTP instrumentation.
skill({ name: "debug" })debug_start, debug_stop, debug_read, debug_clear, debug_statusAdd to your opencode.json:
{
"plugin": ["opencode-debug-agent"]
}
Or for local development, copy to .opencode/plugin/.
Switch to the debug agent (Tab key) and describe your issue. The agent will:
Load the debug skill and help me debug this API timeout issue.
The build agent can then use all debug tools.
debug_start # Start server, get instrumentation snippet
debug_status # Check if server running, get port
debug_read # Read captured logs
debug_read(tail: 10) # Read last 10 entries
debug_clear # Clear log file
debug_stop # Stop server
debug_start launches an HTTP server and returns a ready-to-use fetch() snippetdebug_read returns captured data as structured JSONdebug_stop and remove instrumentation// Snippet returned by debug_start:
fetch("http://localhost:54321/log", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({label: "LABEL_HERE", data: {YOUR_DATA}})
})
// Used in code:
fetch("http://localhost:54321/log", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({label: "before-api", data: {userId, params}})
})
.opencode/debug.log - NDJSON log file.opencode/debug.port - Persisted port numberbun install
mise run build
mise run test
mise run lint
MIT
FAQs
OpenCode plugin for runtime debugging - capture and analyze execution data
The npm package opencode-debug-agent receives a total of 7 weekly downloads. As such, opencode-debug-agent popularity was classified as not popular.
We found that opencode-debug-agent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.