How to debug the miner proggram

Hi, is there any one have develop the miner proggram. I download AeroClound version from here: https://github.com/AeroCloud/jhPrimeminer-1

So ,first question, how to start debug with testnet. thanks