View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001376 | Xdebug | Step Debugging | public | 2016-12-06 17:12 | 2016-12-06 21:55 |
Reporter | aheissenberger | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 2.5.0RC1 | ||||
Summary | 0001376: xdebug is always triggering a break on page load | ||||
Description | independend of setting xdebug.remote_autostart to on/off any page load will trigger a break on page load in OSX MacGDBp and Chrome Xdebug Plugin. Both with Settings "Break on first Line off" | ||||
Steps To Reproduce | == ah_test.php == Log opened at 2016-12-06 16:49:30 <- run -i 1 <- stop -i 2 Log closed at 2016-12-06 16:49:35 | ||||
Additional Information | GET /ah_test.php HTTP/1.1 PHP Version 5.6.28 System Linux 89c70245635d 4.4.16-boot2docker #1 SMP Fri Jul 29 00:13:24 UTC 2016 x86_64 xdebug xdebug support enabled | ||||
Tags | No tags attached. | ||||
Operating System | Linux 89c70245635d 4.4.16-boot2docker #1 SMP Fri Jul 29 00:13:24 UTC 2016 x86_64 | ||||
PHP Version | 5.6.25-5.6.29 | ||||
|
phpinfo() output also shows the content of the $_SERVER variable - can you reproduce that too here? |
|
PHP Variables Variable Value |
|
I found the problem - I was setting the XDEBUG_CONFIG: "remote_host=192.168.99.1" with in the environment of the docker container (a solution I found on google:-). This was activating the debugger. Here is a docker compose setup to test: Here is the setting that created the problem: You can close this request - Thanks for your help. |
|
And I found a better solution: docker-compose.yml: php.ini |
|
I was just about going to write that you had set that environment variable. In any case, great that you found the problem yourself. Thanks for reporting it. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-06 17:12 | aheissenberger | New Issue | |
2016-12-06 19:14 | derick | Note Added: 0003950 | |
2016-12-06 19:14 | derick | Assigned To | => derick |
2016-12-06 19:14 | derick | Status | new => feedback |
2016-12-06 20:05 | aheissenberger | Note Added: 0003957 | |
2016-12-06 20:05 | aheissenberger | Status | feedback => assigned |
2016-12-06 20:52 | aheissenberger | Note Added: 0003958 | |
2016-12-06 21:20 | aheissenberger | Note Added: 0003959 | |
2016-12-06 21:55 | derick | Note Added: 0003960 | |
2016-12-06 21:55 | derick | Status | assigned => resolved |
2016-12-06 21:55 | derick | Resolution | open => no change required |
2020-03-12 16:33 | derick | Category | Remote Debugging => Step Debugging |