ldbg is a minimal Python library that lets you ask an LLM questions while debugging — your prompt is automatically enriched with your current call stack, variables, and source context.

It’s like ShellGPT but for pdb, ipdb, Jupyter, or the VS Code Debug Console.

Show HN: Ldbg: a Python library to ask LLMs while debugging
github.com