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 example.py

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

An example trace in the Kolo VSCode extension.

Tests

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

$ kolo run unittest
$ kolo run pytest

Limitations

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.