DebugPilot

· offline preview
Code profile:ledger-api / Local · ~/work/ledger-api · python main.py
SIMULATION ONLY · no commands, files or containers accessed · area switching never starts or stops a process

Source · ledger-api / main.py

Illustrated Python session / paused at main.py:8

1 from decimal import Decimal 2 3 def total_with_tax(subtotal): 4 tax = subtotal * Decimal("0.20") 5 return subtotal + tax 6 7 subtotal = Decimal("125.00") total = total_with_tax(subtotal) print(f"Total: {total}")Activate a line marker to toggle its breakpoint. New markers remain pending.

CALL STACK / illustrative

› <module> · main.py:8

VARIABLES / illustrative

subtotal   Decimal('125.00')
total      not evaluated yet

OUTPUT / project context retained

simulated transcript
[demo] Python adapter connected (illustration)
[demo] Paused at main.py:8 · verified marker shown above

Preview ready · selections, breakpoints and output retained between areas · no real execution