mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
3d4ec258fb
* Create close-debug-window.sh * Enhance debug window script with detailed comments Refactor debug window script for clarity and functionality. * Enhance debug window description and functionality Updated the debug window description to include additional details about its functionality and platform support. * Update cli-tool/components/hooks/development-tools/debug-window.json Invalid JSON: missing comma after description makes configuration unparsable Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * Update close-debug-window.sh for Windows compatibility Replace taskkill with ps and kill for better compatibility in Git Bash/Cygwin environments. * refac: merge close-debug-window.sh to debug-window.sh - Parses input to get hook_event_name - Based on hook_event_name, either opens or closes the window * Delete cli-tool/components/hooks/development-tools/close-debug-window.sh * Change debug window command script --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
27 lines
827 B
JSON
27 lines
827 B
JSON
{
|
|
"description": "Auto Debug Log Viewer. Opens a live-tailing debug log window when Claude Code starts with --debug or -d flag. The window closes automatically on session end. To keep the debug window open after session ends, set DEBUG_WINDOW_AUTO_CLOSE_DISABLE=1 in your settings.json. Tested on Intel Mac. Supports macOS, Linux, and Windows (Git Bash/Cygwin). Contributions from other platform users are welcome.",
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": ".claude/hooks/debug-window.sh"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionEnd": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": ".claude/hooks/debug-window.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|