I am using AirtestIDE to run python scripts on phones. This IDE highlights the line that is currently running in real time (see example: https://i.imgur.com/NeHTfbD.mp4)