Visual Debugging on Replit: A Step Towards Intuitive Learning in Coding

Entry for ReplIt Design Summer Internship ’24. Transforming abstract concepts into visual narratives to revolutionize the coding experience for learners and professionals alike.

Carl Kho
3 min readDec 20, 2023
Seems easy enough

As we sit down to solve a math problem, we often reach for a pen and paper, breaking down complex calculations step by step. It’s a process that not only leads us to the correct answer but also deepens our understanding of the underlying principles. This approach isn’t just for math; it’s vital for coding too.

Imagine doing this slightly-more-complicated problem in code. Column by column.

I’m Carl, a computer science student at Minerva University, and I’ve been thinking about how we learn and engage with code on platforms like Replit. We’re in an era where visual learning isn’t just preferred; it’s essential, especially for complex concepts like recursion or compound interest calculations in programming. That’s why I propose a visual debugger for Replit, a tool that breaks down code execution in a step-by-step manner similar to solving a math problem.

Here’s me basically saying what’s being said in this article.

Imagine this: you’re working through your code and with each line, a visual cue guides you to the next, showing you where variables are stored, how functions are executed, and where your logic might be tripping up. It’s about making the invisible, visible.

This feature isn’t entirely new — it’s inspired by tools like Python Tutor and has been implemented on educational websites. But it’s not yet a staple on Replit, a platform that’s becoming a household name in the coding education space. This debugger could be transformative, especially for students and educators, making it easier to demystify coding concepts. And let’s not overlook seasoned developers; such a tool could make debugging less of a chore and more of a learning experience.

My annotations on Python Tutor

Yes, there will be challenges. Scalability and the complexity of integrating this into Replit’s existing framework are not trivial. Yet, I believe the benefits — for learning, for debugging, for cognitive clarity — outweigh these hurdles. After all, isn’t the essence of coding solving problems?

Success could be measured in several ways: engagement metrics, user feedback scores, and perhaps most tellingly, the adoption rate within educational institutions that use Replit.

With my background in product design, including translating designs into functional React components, I am keenly aware of the impact well-executed features can have on user experience. A visual debugger on Replit isn’t just another feature; it’s a step towards redefining how we learn to code in a visual world.

--

--

Carl Kho

Designed my way to seven countries. Junior at Minerva University (2026). 🇵🇭 Open to SWE / Product Design roles (summer internships). https://www.carlkho.com/