Generally it is better to use the Debug target when debugging. The release rarely allows any useful debugging to happen. To switch the target find the drop down where it is Release is selected and switch it to Debug.