[TIMOB-17733]: Finish production app when attempt to connect to debugger

Testing steps in JIRA