Community
Participate
Working Groups
I am remotely debugging a simple file, test.php, on an EC2 instance. I have set ECLIPSE to use external browser Firefox Developer. I select the green debug button and I see that the URL in the browser is set correctly by ECLIPST and has the proper XDEBUG information in it as follows: http://keepity.com/test.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=158431436622425 However, breakpoints dont work! There are no breakpoint_set commands showing in the remote xdebug.log and eclipse does NOT stop at any breakpoints. If I set break at first line- it WILL stop at the first line and allow me to single step, HOWEVER it will NOT stop at any of the breakpoints. If I copy the the above url, and MANUALLY paste it into the Firefox browser url, Eclipse will immediately ask me to : SELECT THE LOCAL RESOURCE THAT MATCHES THE FOLLOWING SERVER PATH and the breakpoints will work fine!! I know it's important to set the path mapping correctly and I believe I have because first line breakpointing works. In addition, I have tried setting the path to the project name in workspace and tried specifying the full path in the file system. Either way, same behavior. Why would breakpoints work if I MANUALLY paste the following URL, but they WONT work if Eclipse opens the exact same url when I select the DEBUG button? http://keepity.com/test.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=158431436622425 SET UP DETAILS: New install of Eclipse: Eclipse IDE for PHP Developers Version: 2018-09 (4.9.0) Build id: 20180917-1800 Remotely debugging code on an AMAZON LINUX 3.10.53-56.140.amzn1.x86_64 When creating an eclipse project, I was asked if I want to use existing files in the filesystem and thats what I did, so the .settings/.buildpath/.project are not in the workspace, they are in the folder where my project resides.