Skip to content

Latest Capture Pull Request#101

Open
jspahn80134 wants to merge 10 commits intobjones1:mainfrom
jspahn80134:main
Open

Latest Capture Pull Request#101
jspahn80134 wants to merge 10 commits intobjones1:mainfrom
jspahn80134:main

Conversation

@jspahn80134
Copy link
Contributor

No description provided.

@bjones1
Copy link
Owner

bjones1 commented Feb 16, 2026

I assume you want to run the debugger to check code running inside the VSCode extension, not simply code running in the standalone server?

On a side note, you can run ./bt flint from the server/ directory to clean/lint the code.

@bjones1
Copy link
Owner

bjones1 commented Feb 16, 2026

I haven't done that yet -- it's definitely valuable to be able to do, but probably also hard. I typically write unit tests and debug those, since it's less connected to the VSCode environment and problems there.

@bjones1
Copy link
Owner

bjones1 commented Feb 18, 2026

I can see several errors at the TypeScript level, just by starting the VSCode debugger on the CodeChat Editor extension for VSCode, starting the extension in the extension debug host, then opening the webview developer tools:

image

This may mean I'm not running the server and not be real failure indication, not sure.

Here's a launch.json profile that may work:

        {
            "name": "Attach Rust",
            "type": "lldb",
            "request": "attach",
            // Use the VSCode process explorer to find the correct VSCode process.
            "pid": "${command:pickProcess}",
            // Path to the compiled Rust binary/library.
            "program": "${workspaceFolder}/out/codechat-editor-client.win32-x64-msvc.node",
        }

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