I'm super excited to share an early preview of Debugger MCP!
We wanted LLMs to debug and understand code like humans, so we're releasing an open-source MCP server that connects any Debug Adapter Protocol (DAP)-compatible debugger to your favourite MCP client.
It works out of the box with Python and Node, with support for other languages dropping soon.
Debuggers allow you to pause code execution, inspect variable values, step through code line-by-line, set breakpoints, evaluate expressions, monitor program flow, and examine the call stack, making it easier to pinpoint and resolve bugs.
I hate having to explain my development context to Cursor, e.g.
"I'm trying to speed up this Docker build, so I've added this caching but now my project crashes with this error..."
I want to screen share with a model so that it can literally *see* what I'm trying to do
If you prompt LLMs in Rust I highly recommend `rinja`: https://t.co/E59pn9Gj2a
It's a compile-time template rendering engine that let's you harness the power of Rust pattern matching in your prompts:
@jacksbridger They're known as characterisation tests: https://t.co/Oi1fbujQQ4
You run the program with some inputs, collect the outputs, and synthesise tests that `assert f(input) == output`.
If after refactoring `f` a test fails, the program behaviour has changed.
It now makes sense to religiously strive for 100% test coverage.
With it, AI coding agents can take on huge maintenance burdens with minimal manual review:
- Dependency upgrades
- Code refactors
- Optimisations
Challenging, but will lead to proper automation
@jacksbridger Ideally not. That would be extremely tedious. For this to scale we're going to need better automatic test generation. There are lots of ways it could be automated.
@probkirby @LouisKnightWebb I think characterisation tests are about to become all the rage, especially if we improve techniques to generate them cheaply
Tool Augmented Language Models.
The #AI4Code reading group is also back in July with Aaron Parisi, #Google researcher and lead author of the #TALM paper👇
https://t.co/5pwNlZpSLC
I spent months working on domain-specific search engines and knowledge discovery apps for biomedicine and eventually figured that synthesizing "insights" or building knowledge graphs by machine-reading the academic literature (papers) is *barely useful* :
https://t.co/eciOg30Odc
if you're attending #acl2020nlp why not say hi in our live Q&A sessions where @ggordonhall and myself will answer any and all of your questions about "Learning Dialog Policies from Weak Demonstration" (https://t.co/tAqDzdnWG0)
#huawei#nlp#AI#ReinforcementLearning