For Mobile the Debug menu has a button(looks like a lil bug) and it is in the settings menu if you want to exit just type the word "exit" and hit enter.
Seen lots of comments asking so i decided to help 😁