On occasion you may get the following error when trying to run PAServer on MacOS.
Acquiring permission to support debugging...failed You will be prompted for Developer Tools Access the next time you start a debug session
If this happens, and you do not get prompted to enter admin credentials, you will need to manually authorize PAServer’s debugging permissions. This is actually eaier than you might think, but will require you to use the terminal app. Simply follow the steps below. (Note that I am using the version of PAServer from Delphi 10.2.3 Tokyo).
- Change into the PAServer app folder using the following command:
- Next set the owner of the dbkosx_xx_x (for 10.2.3 Tokyo this would be dbkosx_25_0) file to root:
sudo chown root dbkosx_25_0
- Finally set the permissions for the dbkosx_xx_x (for 10.2.3 Tokyo this would be dbkosx_25_0) file
sudo chmod u+s,g+x dbkosx_25_0
That’s all there is to it. You should now be able to debug your apps on MacOS.