Tweet
Replying to @illdred
A colleague lent me his Atmel Power Debugger, it’s a neat little gadget purpose built for this situation. Has a configurable regulator on board, and two current sensors that can measure from nanoamperes up to 1 amp, I think. https://www.microchip.com/DevelopmentTools/ProductDetails/ATPOWERDEBUGGER
(original)