0

when Using RAD Server in Development Mode there is a Console that writes every Request every Function and so on. Is it Posible to use this Console as a Debug console. I Would like to throw some Exeptionmessages into taht console while coding but I can't find anything on that topic.

fisi-pjm
  • 378
  • 2
  • 16

1 Answers1

0

Import Unit EMS.ResourceAPI into your uses

than use following code to write a Debug line

TEMSEndPointEnvironment.Instance.LogMessage('Your Debugmessage');

It also works in Production Mode. To use it activate debugfile in EmsServer.ini

fisi-pjm
  • 378
  • 2
  • 16