Can we trace the code like C and C++ Runtime?

What is the command to trace the code written in jupyter notebook file? As we use F7 to trace the C or C++ Program