I was using the pdb debugger in the google colab https://colab.research.google.com/.
I was able to set a breakpoint at a line using pdb.set_trace(), but when the debugger stops there and I type-in the next command, it hides the typed characters in the command.
Shown below where "*********" appears in 'pdb' command line instead of 'p inputs' before the command executes:
How to fix this?
Why is pdb not showing characters in the command before it's run?

I found this discussion that suggests using
resetorstty sane