View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001611 | Xdebug | Step Debugging | public | 2019-01-16 18:05 | 2019-02-15 16:38 |
| Reporter | cmct89 | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | unable to reproduce | ||
| Platform | PHPStorm | OS | Windows | OS Version | 10 |
| Product Version | 2.7.0beta1 | ||||
| Summary | 0001611: XDebug does not produce log or break on breakpoint without passing xdebug.remote_autostart=On | ||||
| Description | I set-up XDebug to run from my test.bat file by passing: I have also set the log output for xdebug in my php.ini with xdebug.remote_log=C:\Repositories\webs-integration-tests\branches\CA-Scripts\log.log Unfortunately, the log is not created and if I add a break-point in PHPStorm it is not hit when running my .bat script. However, if I add xdebug.remote_autostart=On, I get a log and it hits my break-point. My understanding is that xdebug.remote_autostart=On is supposed to break on first line not on a break point so I am not even sure if it is working correctly. Moreover, I have verified with other team members my current settings and we are stumped as to why it is only affecting me. The only difference in our environments is that I am using PHP 7.3, I've added php -i to see my exact environment set-up. Thanks for the help! | ||||
| Steps To Reproduce | 1) Set break point in PHPStorm | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.1.0 | ||||
|
|
Hi, did you export the XDEBUG_CONFIG variable on the command line? That is needed to trigger the debugging connection. See the following URL on how to do that on Windows: https://xdebug.org/docs/remote#starting You also write:
That's not correct. remote_autostart only negates the need for a trigger (the XDEBUG_CONFIG env var on the command line, or the XDEBUG_SESSION_START cookie or GET parameter for the web). It's up to the IDE whether it stops on the first line, or on the first breakpoint. cheers, |
|
|
I am closing this issue, as the requested feedback was not provided within 2 weeks. Feel free to reopen this report if you have further information. |