Remote debugging using ndb

Hi, I’m new to this forum :slight_smile:
I’ve inherited some build that is working well on my machine, but fails on travis. I’ve managed to ssh into build via debug mode, but struggled to find any way actually inspect the built.

Here, I’m trying to find out of good strategies of debugging chromedriver/selenium runs. Typically I use ndb mocha script.js on my machine which lets me step thru runtime and also see the browser automation. What is the closest similar alternative while in travis?