We're upgrading a legacy PB application to PowerServer 2021.
In the application Handle(GetApplication()) = 0 is used to determine if the application is being run from the PB IDE.
Unfortunately when running the new PowerServer project from the PB IDE this technique does not work since a valid handle is returned.
Is there a way to duplicate this technique i.e. is there any way to determine if we're running the installable web app from the PB IDE or not?