Skip to content

Mirror: Add troubleshooting with console capture (#5865)#7

Merged
jeremylongshore merged 8 commits intomainfrom
review/PR-5865
Feb 15, 2026
Merged

Mirror: Add troubleshooting with console capture (#5865)#7
jeremylongshore merged 8 commits intomainfrom
review/PR-5865

Conversation

@jeremylongshore
Copy link
Copy Markdown
Owner

@jeremylongshore jeremylongshore commented Feb 14, 2026

Mirror of Kilo-Org#5865

Field Value
Upstream PR #5865
Author @alexkgold
Category docs
Tier 1
Size 58+/0- lines, 1 file

This PR mirrors the upstream change for multi-AI review analysis.

Changes

Adds a new troubleshooting page with instructions for capturing console logs in VS Code and JetBrains IDEs. Includes Developer Tools opening, JCEF debugging for JetBrains, and contact support info.

Bot Review Checklist

  • CodeRabbit reviewed
  • Gemini Code Assist reviewed
  • Greptile reviewed
  • CodeQL scanned
  • Qodo PR-Agent reviewed

Summary by CodeRabbit

  • Documentation
    • Added a comprehensive troubleshooting guide with step-by-step instructions for capturing console logs, enabling Chrome DevTools across various IDEs, and contacting support with detailed error information and context.

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @jeremylongshore, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a crucial new troubleshooting document aimed at empowering users to self-diagnose and report issues more effectively. By providing clear guidance on how to access and capture console logs within their respective IDEs, the change significantly improves the support process for Kilo Code, enabling faster identification and resolution of user-reported problems.

Highlights

  • New Troubleshooting Guide: A new documentation page has been added to guide users on how to capture console logs when encountering issues with Kilo Code.
  • IDE-Specific Instructions: The guide provides detailed, step-by-step instructions for opening Developer Tools and capturing logs in both VS Code and JetBrains IDEs, including enabling JCEF debugging for JetBrains.
  • Support Contact Information: Instructions are included on what information to provide when contacting support, such as error messages, reproduction steps, screenshots, and version details.
Changelog
  • apps/kilocode-docs/pages/getting-started/troubleshooting.md
    • Added a new troubleshooting guide for capturing console logs in VS Code and JetBrains IDEs.
    • Included steps for enabling JCEF debugging and connecting Chrome DevTools for JetBrains.
    • Provided instructions on how to clear logs, reproduce issues, check for errors, and copy relevant information.
    • Detailed the necessary information to include when contacting support.
Activity
  • The pull request is a mirror of an upstream change for multi-AI review analysis.
  • The PR description includes a checklist for various bot reviews (CodeRabbit, Gemini Code Assist, Greptile, CodeQL, Qodo PR-Agent).
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 14, 2026

📝 Walkthrough

Walkthrough

A new troubleshooting guide markdown page is added to the documentation, providing users with step-by-step instructions for capturing console logs, accessing Developer Tools in VS Code and JetBrains, enabling Chrome DevTools, and contacting support with diagnostic information.

Changes

Cohort / File(s) Summary
Documentation
apps/kilocode-docs/pages/getting-started/troubleshooting.md
Adds a new troubleshooting guide covering Developer Tools access, Chrome DevTools connection, console log capture, error reproduction, and support contact procedures with IDE and version context.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Hop, hop, troubleshoot with ease,
A guide to debug the trickiest freeze,
Console logs exposed in the light,
Chrome DevTools shining ever so bright,
Users now victorious in tech's great fight! 🥕✨

🚥 Pre-merge checks | ✅ 3 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The description deviates from the template, omitting required sections (Context, Implementation, How to Test) and instead providing a mirror PR summary with a checklist. Restructure description to follow the template: add Context explaining why the troubleshooting guide is needed, Implementation detailing the solution, and How to Test section for verification.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change—adding a troubleshooting guide with console capture instructions—and is clear and concise.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch review/PR-5865

No actionable comments were generated in the recent review. 🎉

🧹 Recent nitpick comments
apps/kilocode-docs/pages/getting-started/troubleshooting.md (1)

37-37: Use consistent product naming.

The term "Kilo webview" should be "Kilo Code webview" to maintain consistency with the product name used throughout the documentation.

📝 Suggested fix
-5. Chrome DevTools will open connected to the Kilo webview—click the **Console** tab
+5. Chrome DevTools will open connected to the Kilo Code webview—click the **Console** tab

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

Failed to generate code suggestions for PR

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a helpful troubleshooting guide. The instructions are clear, but I've suggested a significant improvement for the JetBrains section to make it much simpler for users to follow.

Additionally, this new page at /getting-started/troubleshooting is currently not linked from the main navigation or any other documentation pages. To make it discoverable, consider adding it to the 'Help' section in apps/kilocode-docs/lib/nav/getting-started.ts. You might also want to link to it from the troubleshooting sections of other relevant pages, like the installation guide.

Comment on lines +22 to +37
### Enable JCEF Debugging

1. Open your JetBrains IDE and go to **Help → Find Action** (or press `Cmd+Shift+A` / `Ctrl+Shift+A`)
2. Type `Registry` and open it
3. Search for `jcef` and configure these settings:
- `ide.browser.jcef.debug.port` → set to `9222`
- `ide.browser.jcef.contextMenu.devTools.enabled` → check the box
4. **Restart your IDE** after making these changes

### Connect Chrome DevTools

1. Make sure the **Kilo Code panel is open** in your IDE (the debug target won't appear unless the webview is active)
2. Open Chrome (or any Chromium-based browser like Edge or Arc)
3. Navigate to `http://localhost:9222/json` to see the list of inspectable targets
4. Find the entry with `"title": "Kilo Code"` and open the `devtoolsFrontendUrl` link
5. Chrome DevTools will open connected to the Kilo webview—click the **Console** tab
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The instructions for JetBrains can be simplified and made clearer. The current text asks users to enable the DevTools context menu but doesn't explain how to use it, instead providing a more complex manual connection method. The manual method itself can be simplified by using chrome://inspect instead of parsing JSON from a URL.

Here's a revised version that prioritizes the simpler context menu method and provides a clearer fallback.

### Method 1: Use the Context Menu (Recommended)

This requires a one-time setup to enable the menu item.

**1. Enable Context Menu**

1.  In your JetBrains IDE, go to **Help → Find Action** (or press `Cmd+Shift+A` / `Ctrl+Shift+A`).
2.  Type `Registry` and open it.
3.  Find `ide.browser.jcef.contextMenu.devTools.enabled` and check the box.
4.  **Restart your IDE**.

**2. Open DevTools**

1.  Open the Kilo Code panel.
2.  Right-click inside the panel and select **Open DevTools**.

### Method 2: Manual Connection

If the first method fails, you can connect manually:

1.  In the `Registry`, set `ide.browser.jcef.debug.port` to `9222` and restart the IDE.
2.  With the Kilo Code panel open, navigate to `chrome://inspect` in a Chromium browser.
3.  Click **Configure...** and add `localhost:9222`.
4.  Click the **inspect** link for the "Kilo Code" target.

@jeremylongshore
Copy link
Copy Markdown
Owner Author

Review: kilocode Kilo-Org#5865

Add troubleshooting with console capture by @alexkgold
Multi-AI analysis: Fork PR #7 — reviewed by CodeRabbit, Gemini, CodeQL, Qodo

Checklist

Check Result Notes
Correctness PASS VS Code command and JetBrains JCEF steps are accurate
Conventions ISSUE Page not added to navigation (getting-started.ts)
Changeset SKIP Docs-only PR, no version bump required
Tests N/A No code changes
i18n N/A Docs site, not UI strings
Types N/A No TypeScript
Security N/A Static documentation
Scope PASS Single file, single concern

Findings

🟡 Page not added to navigation

The troubleshooting page is created at getting-started/troubleshooting.md but is not added to apps/kilocode-docs/lib/nav/getting-started.ts. The page won't appear in the sidebar and users can only find it via direct URL or search.

Suggested fix: Add to the "Help" section in getting-started.ts:

{
    title: "Help",
    links: [
        { href: "/getting-started/faq", children: "FAQ" },
        { href: "/getting-started/troubleshooting", children: "Troubleshooting" },
        {
            href: "/getting-started/migrating",
            children: "Migrating from Cursor",
        },
    ],
},

🟡 Maintainer feedback: scope and organization

@olearycrew commented that this guide is geared towards the extension and suggested:

  1. Making that scope explicit in the content
  2. Organizing into a troubleshooting folder (e.g., getting-started/troubleshooting/index.md)

This feedback should be addressed before merge.

⚪ JetBrains instructions could be simpler

The JetBrains section asks users to enable ide.browser.jcef.contextMenu.devTools.enabled but then doesn't explain how to use the context menu. Instead it directs them to manually connect via localhost:9222/json and parse JSON. Consider:

  1. Adding a "right-click → Inspect" instruction after enabling the context menu
  2. Using chrome://inspect as an alternative to the JSON endpoint

CI Status

Check Result
Build Markdoc Site PASS
compile PASS
check-translations PASS
unit-test PASS
test-extension (ubuntu) PASS
test-extension (windows) PASS
test-webview (ubuntu) PASS
test-webview (windows) PASS
build-cli PASS
test-cli PASS
test-jetbrains PASS
Vercel PASS

Code Snippets

# New file: apps/kilocode-docs/pages/getting-started/troubleshooting.md

## Opening Developer Tools

{% tabs %}
{% tab label="VS Code" %}
1. **Open the Command Palette**: Press `Ctrl+Shift+P` (Windows/Linux) or `Cmd+Shift+P` (Mac)
2. **Search for Developer Tools**: Type `Developer: Open Webview Developer Tools` and select it
{% /tab %}
{% tab label="JetBrains" %}
### Enable JCEF Debugging
1. Go to Help → Find Action → Registry
2. Set `ide.browser.jcef.debug.port``9222`
3. Enable `ide.browser.jcef.contextMenu.devTools.enabled`
4. Restart IDE
### Connect Chrome DevTools
1. Navigate to `http://localhost:9222/json`
2. Find entry with `"title": "Kilo Code"`, open `devtoolsFrontendUrl`
{% /tab %}
{% /tabs %}

Verdict

COMMENT - Well-written troubleshooting guide with good Markdoc tabs usage. Two items need attention before merge: (1) the page must be added to the nav config in getting-started.ts for discoverability, and (2) @olearycrew's feedback about scoping to the extension and folder organization should be addressed. The JetBrains instructions could also be simplified. Content accuracy is solid.

@jeremylongshore
Copy link
Copy Markdown
Owner Author

Review Journal: kilocode Kilo-Org#5865

PR: #5865 |
Title: Add troubleshooting with console capture |
Author: @alexkgold |
Category: docs | Tier: 1 | Size: 58 lines, 1 file | Confidence: 4/5

Multi-AI analysis: Fork PR #7 — CodeRabbit, Gemini, CodeQL, Qodo


Summary

A new troubleshooting guide for capturing console logs in VS Code and JetBrains IDEs. Well-written content with proper Markdoc tab components, but the page isn't connected to the site navigation and maintainer @olearycrew has unaddressed feedback about scope and organization. Needs nav integration and maintainer alignment before merge.

First Impressions

Title "Add troubleshooting with console capture" signals a practical support doc. At 58 lines in a single new file, this is a clean addition — no existing code modified. The PR description is minimal ("let me know if you have any thoughts/feedback"), suggesting early-stage content seeking review.

What I Looked At

  1. The new filegetting-started/troubleshooting.md (58 lines, Markdoc with tabs)
  2. Navigation configapps/kilocode-docs/lib/nav/getting-started.ts to check if page is linked
  3. Existing troubleshooting references — 20+ files mention "troubleshooting" but no dedicated page exists yet
  4. Upstream PR comments@olearycrew and kiloconnect bot feedback
  5. Fork PR Mirror: Add troubleshooting with console capture (#5865) #7 — Gemini and CodeRabbit bot reviews
  6. All upstream CI checks — 12/12 pass (including Vercel)

Analysis

Content quality is solid

The guide covers two IDEs with appropriate tabs:

VS Code (3 steps): Command Palette → Developer: Open Webview Developer Tools → Console tab. Straightforward and accurate.

JetBrains (2 sections):

  1. Enable JCEF Debugging via Registry settings (ide.browser.jcef.debug.port → 9222, ide.browser.jcef.contextMenu.devTools.enabled)
  2. Connect Chrome DevTools via localhost:9222/json, find Kilo Code target, open devtoolsFrontendUrl

The "Capturing the Error" section and "Contact Support" section are clean and actionable.

Missing navigation integration

The page is created but getting-started.ts doesn't reference it. The "Help" section currently has:

{ href: "/getting-started/faq", children: "FAQ" },
{ href: "/getting-started/migrating", children: "Migrating from Cursor" },

A Troubleshooting entry would naturally fit between FAQ and Migrating. Without it, users can only reach this page via direct URL or site search.

Maintainer feedback not yet addressed

@olearycrew commented:

"Seems like this is geared towards the extension so maybe make that clear / organize a troubleshooting folder with just one in it for now for the extension."

Two requests:

  1. Scope clarity — The guide applies to the VS Code extension and JetBrains plugin but doesn't say "extension" in the title or intro
  2. Folder organization — Suggests getting-started/troubleshooting/ as a folder (with index.md for the extension guide), anticipating future troubleshooting pages (e.g., CLI troubleshooting)

JetBrains UX could be simpler

The instructions enable the context menu DevTools (ide.browser.jcef.contextMenu.devTools.enabled) but then don't explain how to use it (right-click → Inspect). Instead they direct users to manually navigate to localhost:9222/json and parse JSON. Two improvements:

  1. Primary method: right-click in Kilo Code panel → Open DevTools (after enabling)
  2. Fallback: chrome://inspect is simpler than parsing localhost:9222/json

Verification

All CI checks pass (this is the first external-contributor PR where Vercel also passed):

Build Markdoc Site     PASS    (directly relevant - docs build)
check-translations     PASS    (directly relevant - no broken strings)
compile                PASS
test-extension         PASS    (ubuntu + windows)
test-webview           PASS    (ubuntu + windows)
unit-test              PASS
build-cli              PASS
test-cli               PASS
test-jetbrains         PASS
Vercel                 PASS    (deployed preview)

Bot Review Synthesis

Bot Verdict Key Finding Useful?
Gemini Comment Missing nav entry; JetBrains instructions can be simpler (chrome://inspect) Yes — caught both issues
CodeRabbit Processing Still generating review at time of submission Pending
Greptile No response Has not responded on any fork PR (0/4) Non-functional — needs investigation
CodeQL N/A No security findings (docs-only) Expected
Qodo Failed "Failed to generate code suggestions" Config issue persists

Greptile investigation needed: Greptile has not commented on any of our 4 fork PRs despite being installed and configured with a detailed greptile.json. Possible causes: codebase indexing incomplete for the fork, docs-only changes filtered out, or plan/rate limits. Will investigate via Greptile dashboard.

Lessons Learned

1. New pages need nav integration. Creating a page without updating the nav config is a common oversight in docs PRs. This should be a standard checklist item: "If adding a new page, is it linked from the nav?"

2. Maintainer feedback is part of the review. @olearycrew's comments on scope and folder organization represent design decisions that should be resolved before a code review can give a final verdict. Our review acknowledges and surfaces this feedback.

3. Vercel deploys for some external contributors. Unlike PR Kilo-Org#5667 where Vercel skipped, this PR's author (@alexkgold) has auth to trigger Vercel deploys. This means they likely have org access — different from truly external contributors.

4. Greptile remains non-functional. 0/4 PRs reviewed despite proper config. This needs to be resolved for the tool to earn its $20/month. All the value so far comes from CodeRabbit (free) and Gemini (free).


Review #4 of 75 | Review methodology: AI PR Review Case Studies | Reviewed with GWI + Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants