komodo IDE -> remote debug php using komodo+xdebug: how to watch the $_SERVER variable?
-
06-06-2021 - |
سؤال
I've setup komodo IDE together with xdebug to do remote debugging PHP. Everything is working fine. Now i want to watch some variables while debugging is in progress. I can watch any variables without problem but i couldn't watch any PHP SERVER variable, for example how to watch the $_SERVER['SERVER_NAME'] , If i use $_SERVER or SERVER or $SERVER , it will return 0. Anyone know how to do it ?
Thanx
المحلول
Komodo has a specific tab for super globals. In the bottom left it has "Watch", "Locals" and "Superglobals". For SERVER, GET, POST etc, you'd want the "Superglobals" tab to be activated.
لا تنتمي إلى StackOverflow