Add support for debug module

Merge with https://github.com/klusta-team/spikedetekt2/pull/8