Here is the PHP > Servers setup (wrong path has been fixed as well) Here is the PHP > Servers setup (I have fixed the path mapping on the server side)Īgain no debugging setup has been set for this project but a break point has been set however the app is never stopping at that break point is like it does not exists. The IDE is stopping there and is debugging properly. There is NO configurations for debugging at all and a break point has been set. Xdebug is enabled on the browser and I am browsing a URL belonging to A app: At some point A is making calls to B, B is opened in another IDE I would expect to be able to debug those calls also at B IDE => this is not working.I should be able to debug on the IDE where app A is opened. Open app A and navigate through some pages.I have opened the A app and started making calls there and Xdebug is going to the right IDE as I said before but is not jumping between them when calls to the API on B are being made. I would expect something like the following: Why? How should I setup the have made the changes as you suggested and the debugging is working properly which means is going to the right IDE window. I would expect to be able to switch between the projects back and forth while debugging.One instance of phpStorm opened with two projects: project A and project B.Result: is not working because as soon as the IDE knows there is a request doesn't matter where is coming from it tries to debug the wrong project meaning A.Because the project I have open is B I would expect to be able to debug the API endpoints.I've open a page from app A and this page makes a request to an endpoint on the app B.Remote PHP (5.3.3) and Xdebug has been setup.One instance of phpStorm opened with project B.I would expect to be able to switch between the IDEs back and forth when this happen so I can keep a track of what the application is doing.I've open a page from app A and this page makes a request to an endpoint on the app B.The Xdebug extension has been installed and enabled in the browser (Chrome).Remote PHP (5.3.3) and Xdebug has been setup in both projects independently however the Xdebug setup from the PHP side (php.ini) is shared between them.Two different instances of phpStorm opened: one have the project A setup, the other one has the project B setup.Think on it as an small micro-services architecture with the difference that both are running on the same server which means same PHP, same Apache, same Server (box). There will be always two projects involved A which is the main application and B which is an API. I don't know if this is possible at PHP/xDebug or if it's not supported by phpStorm so don't call me crazy :p ![]() Also I am seeing different scenarios which I will describe below. ![]() I have been trying to setup this for a while and I have read a lot about it but sadly I am not able to get this to work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |