Analysing your entire program

kolo run allows you to analyse your program from start to finish.

Basic Usage

Use kolo run to run your python script:

$ kolo run

Once your program exits you will see a new trace in VSCode:

An example trace in the Kolo VSCode extension.


kolo run can also be used with unittest or pytest to analyse the execution of your tests.

$ kolo run unittest
$ kolo run pytest


If your program uses subprocesses or threading, kolo run is unable to analyse this code automatically.

If you want to analyse Django requests, you still need KoloMiddleware in your MIDDLEWARE setting.