For those who use mac os Monerey
If there is a problem with executing scripts: A_runserver_debug.sh and C1_runtoolsserver.sh you can try to change jre path from JRE_HOME="server/jre" to your local installation, in my example JRE_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_341.jdk/Contents/Home"
It works for me