Hi Prasanna Naik,
Thank you for your interest in NXP kinetis product, I would like to provide service for you.
Do you mean, when you use the JTAG interface, eg SWD, you can debug the code, and when disconnect the debugger, just POR, the APP can't work?
What the IDE you are using? CW, KDS or MCUXPresso?
If you are using the CW, please check this configuration:

You need to chose ewl instead of ewl_hosted.
Please try it on your side, thank you.
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------