Please enable JavaScript to use CodeHS

All Product Updates

Stay up to date with the latest features, improvements, and fixes to CodeHS.

Faster Python Startup and Step-by-Step Debugging

Python

Most Python programs load ahead of time for less waiting when students press Run, with step-by-step debugging to help them find and understand errors.

Faster Python Startup and Step-by-Step Debugging

We’ve improved the Python experience on CodeHS, so students can spend less time waiting and more time coding.

Less waiting when students press Run: Python starts loading in the background when students open the code editor. While they read the instructions or work on their code, the runtime gets ready to run their program.

Debug Python one step at a time: Students can use debug mode in browser-based Python console and graphics programs to follow their code’s execution and investigate unexpected results. They can:

  • Set breakpoints to pause at specific lines.
  • Use Step Over to execute a line without stepping through the function it calls.
  • Use Step Into to follow execution inside a function.
  • Inspect variable values while the program is paused.
  • Select Continue to resume execution until the next breakpoint.

These tools help students see what their code is doing and give teachers a way to walk through errors with them.