

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456# Debugging with Script Kit Logs78## Log System Overview910Script Kit has a comprehensive logging system defined in [./src/main/logs.ts](./src/main/logs.ts). Logs are written to `~/Library/Logs/ScriptKit/` and are organized by component type.1112## Available Log Files1314The system creates separate log files for different components:15- `main.log` - Main application logs16- `term.log` - Terminal/PTY related logs (useful for invoke-pty debugging)17- `process.log` - Process management logs18- `script.log` - Script execution logs19- `error.log` - Error logs across all components20- `prompt.log` - Prompt-related logs21- `ipc.log` - Inter-process communication logs22- `debug.log` - Debug-specific logs23- And many others (see [./src/main/logs.ts](./src/main/logs.ts) for the full list)2425## Debugging Workflow2627When debugging issues, follow this process:2829### 1. Ask User to Run the Application30Before checking logs, always ask the user to:311. Run the Script Kit application322. Confirm when the app is running333. Perform the specific actions that are causing issues3435### 2. Wait for User Confirmation36Wait for the user to explicitly tell you:37- "The app is running"38- That they have performed the problematic actions39- Any specific error messages they see in the UI4041### 3. Check Relevant Logs42Once the user confirms they've reproduced the issue, check the appropriate log files:4344```bash45# For terminal/PTY issues (like invoke-pty problems)46tail -n 100 ~/Library/Logs/ScriptKit/term.log4748# For general application issues49tail -n 100 ~/Library/Logs/ScriptKit/main.log5051# For errors52tail -n 100 ~/Library/Logs/ScriptKit/error.log5354# For process-related issues55tail -n 100 ~/Library/Logs/ScriptKit/process.log56```5758### 4. Log Analysis59Look for:60- Error messages and stack traces61- Performance timing information (console.log messages with timing)62- Component-specific debug output63- PTY pool behavior (for terminal issues)6465## Example Debug Session6667```68Assistant: "Please run the Script Kit application and let me know when it's running."69User: "The app is running"70Assistant: "Great! Now please try the action that's causing the issue."71User: "I tried running a script and it's slow"72Assistant: "Perfect. Let me check the logs to see what's happening."73```7475Then check relevant logs based on the issue type.
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| script-kit/app.cursor/rules/_testing.mdc · 97 | Cursor rules | setupteststylearch+5 | 81/100 | today | |
| script-kit/app.cursor/rules/debugging-workflow.mdc · 97 | Cursor rules | lint-formatarchagent-behaviour | 58/100 | today | |
| script-kit/app.cursor/rules/development-workflow.mdc · 97 | Cursor rules | lint-formatstyletypesagent-behaviour | 61/100 | today | |
| script-kit/app.cursor/rules/search.mdc · 97 | Cursor rules | teststyletesting-strategyperformance | 62/100 | today |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 46 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/script-kit-app-cursor-rules-debugging-logs)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.