Start debugging

Finish the main part, start to debugging to make it works