In sage one can use import pdb;pdb.set_trace()
or in case of tests: import pytest; pytest.set_trace()
. But these commands invoke pure python console without Sage improvements.
Are there something like sage.set_trace()
command which opens Sage REPL instead if Python REPL?