Ok so this works:
enter debug mode on unit juju debug-hooks app/unit
in another window juju resolved app/unit once that error is resolved you will drop into the actual debug session
run hooks/upgrade-charm in tmux session exit from tmux debug session
Ok so this works:
enter debug mode on unit
juju debug-hooks app/unit
in another window juju resolved app/unit
once that error is resolved you will drop into the actual debug session
run hooks/upgrade-charm in tmux session
exit from tmux debug session