Add debug option to main calculation runner