1. Click Product > Scheme > Edit Scheme....
2. Ensure Run and the Arguments tab is selected.
3. Add a new argument by clicking + in the Arguments Passed On Launch section.
4. Enter -com.apple.CoreData.SQLDebug 3 as a new argument and then click OK.