starting debugging python main function