There are situations when your only access to a server is using a web browser, and there is just no chance of a Terminal or Console access. The Online Demo Server is such a case.
So you have WebTerminal. That's fine for ObjectScript and Embedded Python.
To create a user-defined error you need to prepare the XML that describes the error code and corresponding message that you want to use as a user-defined error.
We are successfully using System Default Settings to manage differences in settings across environments where the production and underlying code are otherwise identical. However, the TestingEnabled and LogGeneralTraceEvents settings don't appear to be settable via this mechanism. While we appear to be able to set them on the SDS page, they do not show up as selectable when resetting the settings on the Production Settings tab in the management portal - see screenshots below.
You can hide the source by exporting/importing only the *.obj that is generated after compiling the source program.
The command execution example specifies EX1Sample.obj and EX2Sample.obj, which are generated by compiling EX1Sample.mac and EX2Sample.mac, as export targets and exports them to the second argument file.
After moving to another namespace, I am using the exported XML file to perform the import.