View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002258 | Xdebug | Step Debugging | public | 2024-03-31 11:07 | 2024-10-09 10:04 |
Reporter | marcus90 | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Product Version | 3.2.2 | ||||
Summary | 0002258: Cannot enable step debugging with remote Docker container | ||||
Description | Hello, I cannot make step debugging working in a remote Docker container. I tried with Xdebug 3.0, 3.1, 3.2 and 3.3 with no success. | ||||
Steps To Reproduce | OS: Ubuntu 22.04.4 LTS docker-compose.yml:
xdebug.ini:
error_reporting.ini:
nginx.conf:
Dockerfile:
| ||||
Additional Information | /tmp/xdebug.log (after accessing an endpoint via Postman or browser):
Doing
I can telnet successfully on port 9003 if assigned to an nginx container for example so there is no firewall issue. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | Ubuntu 22.04.4 LTS | ||||
PHP Version | 8.0.20-8.0.29 | ||||
|
The debugger connected correctly to your IDE, and after that, Xdebug sent the |
|
Can you provide the requested feedback please? |
|
The IDE is PhpStorm v2021.2.2. I attached a screenshot with the config.
Thank you! |
|
You're going to have to take this up with JetBrains' support for PhpStorm them. I don't know how to make it create logs as to where it terminated the connection. |
|
Thank you for your feedback. I will open a ticket with them. |
|
If you have their ticket number, feel free to add it here. I would want to close this ticket as "Can't Fix" as it's unlikely to be a bug here. |
|
Hello, |
|
Hi! I had never heard of CGNAT until now. But I don't quite understand how this is important, as the whole idea by Docker is that you run everything on your local machine? How would your ISP get in between? cheers, |
|
Actually I'm getting same error using docker. IDE is PHPStorm. |
|
The Docker dev instance is in the cloud. This is why I believe CGNAT might actually be the issue. Cannot say 100% sure, but very close to :) |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-03-31 11:07 | marcus90 | New Issue | |
2024-03-31 11:07 | marcus90 | File Added: xdebug.png | |
2024-04-15 12:40 | derick | Assigned To | => derick |
2024-04-15 12:40 | derick | Status | new => feedback |
2024-04-15 12:40 | derick | Note Added: 0006900 | |
2024-05-06 10:25 | derick | Note Added: 0006938 | |
2024-05-09 18:24 | marcus90 | Note Added: 0006950 | |
2024-05-09 18:24 | marcus90 | File Added: phpstorm_xdebug_config.png | |
2024-05-09 18:24 | marcus90 | Status | feedback => assigned |
2024-05-10 15:16 | derick | Status | assigned => feedback |
2024-05-10 15:16 | derick | Note Added: 0006951 | |
2024-05-11 07:26 | marcus90 | Note Added: 0006956 | |
2024-05-11 07:26 | marcus90 | Status | feedback => assigned |
2024-06-05 09:59 | derick | Status | assigned => feedback |
2024-06-05 09:59 | derick | Note Added: 0006966 | |
2024-07-17 18:14 | derick | Status | feedback => resolved |
2024-07-17 18:14 | derick | Resolution | open => not fixable |
2024-10-08 15:04 | marcus90 | Note Added: 0007057 | |
2024-10-08 15:12 | derick | Note Added: 0007058 | |
2024-10-08 19:01 | vic | Note Added: 0007069 | |
2024-10-09 10:04 | marcus90 | Note Added: 0007071 |