I’m new at this forum and hope someone can guide me in the right direction.
I’m building my website with an Angular front end and a Slim 4 back end. I use Rest Api’s to get data or post files to my back end from the Angular built front end. All work fine but I haven’t figured out how to debug my Slim Backend.
Till now I simply use Postman and echo back to debug but do not want to continue like that. So I hope someone can help me.
I develop on a Mac with VS Code/Angular and Netbeans/PHP (although I download PHPStorm also today to see their debug facilities and hope that will bring me further).
My front end runs on a locally defined webserver like “frontend.localhost.dev” and my Slim backend runs also locally defined webserver like “api.localhost.dev”. Both https but that doesn’t matter I believe.
This is a copy of my “production” environment. I have deployed it to my provider and all works, so no issues there.
What I need if a “listener” (XDEBUG? ZEND?) in my PHP IDE that will enable Step by Step debugging when I run my frontend in the browser and execute my http requests. (Hope I explained it clearly enough)
Can anyone help me to guide me what to do, to select and how to configure (any) IDE to make this work? It’s fine to run a separate or internal webserver in the IDE next to my locally defined backend. My front end is easily to be redirected to an different server path.
I hope someone can help me.