Quick tip to fix bugs in vibe coding
I often use Cursor and Windsurf for Vibe coding. When I ask them to fix slightly complex bugs, they sometimes struggle — even after prompts like “think hard” or “fix really”
Here’s a trick that works surprisingly well
  1. Ask the LLM to only add log lines (no fixes yet) to help debug the issue.
  2. Re-run the code and share the log output with the LLM. Ask it to investigate and fix the problem using those logs.
  3. Once it’s fixed, ask it to remove all log lines containing your special tag.
This approach works consistently — the model can actually reason through the issue better when it sees real log context, just like a human would.
1
0 comments
Rajasekar Elango
1
Quick tip to fix bugs in vibe coding
Vibe Coders
skool.com/vibe-coders
Master Vibe Coding in our supportive developer community. Learn AI-assisted coding with fellow coders, from beginners to experts. Level up together!🚀
Powered by