arthurgousset
Joined 1 year ago
Joined 1 year ago
That's a great use case. I imagine that makes you more productive because you can get multiple related issues out of the way by spending time in the same corner of your code base.
What other MCPs or use cases have caught your attention ?
> 4. Browser Integration
> * Test web pages
> * Capture screenshots
> * Inspect console logs
[1]: https://docs.cline.bot/exploring-clines-tools/cline-tools-gu...Absolutely valid point, LLMs probably have an easier time adding log statements to the source code and parsing output from the console.
The debugger connection is "better" in certain cases because: 1. It avoids unnecessary diffs related to log statements. Currently, LLMs seem good at adding code, but forget to or struggle to delete code. 2. It avoids making logs noisy, although, admittedly, this can be managed with appropriate severity levels. 3. It provides more precise control over the program execution flow by stepping into, stepping over, and stepping out of lines.
```
{
"capabilities": {
"logging": {}
}
}
```> Asking it to focus on 1 error at a time massively improves the success rate.
Out of curiosity, how do you tell Cursor about the bug? Do you copy/paste console messages from the terminal into the prompt?
> When I hit an error or exception, I explicitly tell the agent to pause and first figure out the best way to debug and quickly pinpoint the root cause.
Out of curiosity, how do you tell Cursor about the bug? Do you copy/paste console messages from the terminal into the prompt?
> Claude captures all the NPM commands from the package json into the instructional file
Oh neat, I didn't know that. I'll try to use `/init` next time!
> it kept trying to run `npm run dev` which spins up the app itself. That's... not ideal since I'm running it myself so it can hot-reload
+1 I regularly notice that behaviour too. I'm running node in dev mode, then Cursor wants to run node, but the port is already in use.
> I'd be curious about is if there is a "clientside browser" MCP
Great point, I noticed this is a common feature request for front-end development. I haven't used it myself, but multiple people mentioned BrowserTools [1]. I think it can read the Dev Tools console, but I'm not sure about multimodal or access to the DOM.
Would you like to use it in a bun project?