Sandboxed Apps can not be debugged?

If I create an App without sandbox it can be debugged perfectly. If I go and “Sandbox” it all the directories are at their place, but the app is called xyz.debug - nothing works any more.

There seems to be no way to distinguish (programmatically), even not

  • Using a constant for "Sandbox"ing
  • Using a PRAGMA (?) #IF
  • Using a Script …

So how please is it possible to debug a sandboxed app professionally? I mean it is clear, you can write a logfile and debug the compiled app with your console and keyboard. Did I miss anything? Checked the docs - but nothing in there.

Do I have to send a kind of “request” then? Who is doing this already and who can help?

Thanks a lot in the name of all of us.