# Debugging with an assistant — AI Coding Assistants

Source: https://www.geekswithgeeks.com/en/ai-coding-assistants/ai-coding-assistants-06

> Apply Debugging with an assistant with clear evidence.

## Understand Debugging with an assistant

For **Debugging with an assistant**, begin with the problem it solves. Identify the inputs, constraints, and observable outcome before choosing an implementation.

## See the workflow

Use this path while practising **Debugging with an assistant**: understand, act, verify, and improve.

![Workflow for Debugging with an assistant.](assets/figures/ai-coding-assistants/section-2-map.svg) — Figure 2.1 — A repeatable workflow.

## A useful comparison

**Debugging with an assistant** is like a route plan: it keeps each step connected to a destination.

Check your reasoning.

**Quiz:** What is the best first step for Debugging with an assistant?

- [x] Define the goal and constraints.
- [ ] Copy an unverified example.
- [ ] Skip measurement.

*Answer:* Define the goal and constraints.. A clear goal and constraints make decisions reviewable.
