Python now as a semi-shortcut for this (just add = to the end of any f-string expression):
In [8]: print(f'{foo.bar[1]=}') foo.bar[1]='2'
You can do more complex expressions:
In [9]: f'{1+1=}' Out[9]: '1+1=2'
It's not quite as fluid as dbg!(), but it's nice.