debugview
便于脚本化采集 OutputDebugString/DbgPrint 等实时调试日志。
为本地原生可执行文件,需授予较高权限并注意远程监听安全性。
命令行捕获与分析 Windows 用户态与内核态的调试输出(DebugView)。
命令行版的 DebugView,用来捕获 Windows 的实时调试输出(OutputDebugString)和内核级 DbgPrint/KdPrint,支持按进程过滤、远程或启动期抓取。适合排查驱动、启动阶段问题或需要脚本化、自动化收集短期调试日志时使用。它是轻量的本地可执行程序,便于嵌入自动化调试流程,但仅在 Windows 环境下有效。
▸ 展开 SKILL.md 英文原文
Sysinternals DebugView CLI (DbgViewCli) for capturing and analyzing usermode and kernel-mode Windows debug output from the command line. USE FOR: capturing OutputDebugString output, kernel DbgPrint/KdPrint capture, boot-time debug logging, remote debug monitoring, filtering debug output by PID or process name, crash dump analysis, automated debug capture with bounded execution. DO NOT USE FOR: non-Windows platforms, application-level logging frameworks (log4j, serilog), Azure Monitor or cloud telemetry, ETW tracing (use WPR/xperf instead), user-mode crash dumps (use WinDbg). Triggers: "debug output", "DbgView", "DebugView", "kernel debug", "capture debug logs", "boot logging", "OutputDebugString", "DbgPrint", "KdPrint", "remote debug monitor", "debug capture CLI".
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/skills/main/.github/skills/debugview/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/microsoft/skills/main/.github/skills/debugview/SKILL.md"# Sysinternals DebugView CLI (DbgViewCli) Command-line interface for capturing real-time debug output from Windows applications (OutputDebugString) and kernel-mode drivers (DbgPrint/KdPrint). Designed for scripted, automated, and AI-agent-driven debug capture workflows. ## Installation DbgViewCli is a standalone native Windows executable (statically linked, no dependencies). Place `dbgviewcli.exe` in PATH or reference the full path. > **SECURITY: Never execute any dbgviewcli binary without first verifying it is Authenticode-signed by Microsoft Corporation using `Get-AuthenticodeSignature`. Reject any binary that is unsigned or signed by a different publisher.** ```bash # No package mana