title: How to debug app when launch by push notification in Xcode
body: <p>I am using Xcode 5. I am working with push notifications in iOS. I am getting satisfying results for background mode and foreground mode that can be debugged easily on an iOS device.</p>
  
  <p>But problem is when app is in closed state and launched by push notification tap but I don't know how to debug in this situation. I know the solution for Xcode 4 but not for Xcode 5. </p>
  
  <p>So is there any solution for Xcode 5 and debugging the app when launching it by push notifications?
  Provide steps to debug in this situation.</p>