Once the hardware modifications have been made we are ready to connect the Power Debugger to the target.
To measure the current on the ATmega328PB device you will have to route its supply through the Power Debugger. With the FET switch set to OFF, the ATmega328PB device has no target power source. To route the 5V Xplained Mini supply voltage through the A channel and into the ATmega328PB device’s supply rail:
Connect the USB and programming cables:
Your setup should look something like this:
If the debugWIRE interface on the target device is enabled, it will need to be disabled.