I have variable called p and I want to print its value inside ipdb.
p = 100
breakpoint() # DEBUG
ipdb> help p
p expression
Print the value of the expression.
ipdb> p
*** SyntaxError: unexpected EOF while parsing
I can't to it since p has an alias inside ipdb. How can I force p to print its value?
You can use
p pcommand andprintfunction: