knurling-rs / probe-run

Run embedded programs just like native ones
Apache License 2.0
645 stars 75 forks source link

Add an optional flag to halt once Ctrl+C is pressed #418

Open LoganDark opened 11 months ago

LoganDark commented 11 months ago

Since the probe is still plugged in after probe-run exits, the target continues to be powered. However, sometimes I want the target to stop executing code until I run something new with probe-run again. Maybe there could be a flag called something like --then-halt that halts the target once Ctrl+C is pressed?