View Issue Details

IDProjectCategoryView StatusLast Update
0001987XdebugStep Debuggingpublic2021-06-30 11:28
Reporterkathie12123 Assigned Toderick  
PriorityimmediateSeverityblockReproducibilityalways
Status closedResolutionno change required 
Product Version3.0.4 
Summary0001987: I try step debugging from Docker for a Laravel Sail app and the browser never goes to the debug mode and phpstorm doesn't detect
Description

Downloading the example-app from Laravel Sail:

https://laravel.com/docs/8.x#choosing-your-sail-services
with :
curl -s https://laravel.build/example-app | bash

Steps To Reproduce

php.ini

phpstorm:

Server:

Docker Container Log:

[Thu Jun 24 03:58:13 2021] PHP 8.0.7 Development Server (http://0.0.0.0:80) started
2021-06-24 13:58:15,283 INFO success: php entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[Thu Jun 24 03:58:25 2021] 172.21.0.1:59928 Accepted
[Thu Jun 24 03:58:25 2021] 172.21.0.1:59930 Accepted
[Thu Jun 24 03:58:25 2021] Xdebug: [Log Files] File '/var/log/xdebug.log' could not be opened.
[Thu Jun 24 03:58:25 2021] Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
[Thu Jun 24 03:58:26 2021] Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
[Thu Jun 24 03:58:26 2021] Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
[Thu Jun 24 03:58:26 2021] 172.21.0.1:59928 Closing

TagsNo tags attached.
Attached Files
Operating System
PHP Version

Activities

kathie12123

2021-06-24 05:53

reporter   ~0005915

php -v is 8.0

derick

2021-06-30 11:28

administrator   ~0005918

The hint is in:

[Thu Jun 24 03:58:25 2021] Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(

That error tells you that there is no IDE listening.

This is not a bug, but a support questions, so please kindly have a look at the support avenues (including free support): https://xdebug.org/support
I've also made a bunch of short videos that talk about some of the issues that you'll be likely running into: https://www.youtube.com/playlist?list=PLg9Kjjye-m1g_eXpdaifUqLqALLqZqKd4

Issue History

Date Modified Username Field Change
2021-06-24 04:31 kathie12123 New Issue
2021-06-24 04:31 kathie12123 File Added: Screenshot from 2021-06-24 14-20-47.png
2021-06-24 04:31 kathie12123 File Added: Screenshot from 2021-06-24 14-13-30.png
2021-06-24 04:31 kathie12123 File Added: Screenshot from 2021-06-24 14-08-46.png
2021-06-24 04:31 kathie12123 File Added: Screenshot from 2021-06-24 13-50-59.png
2021-06-24 04:31 kathie12123 File Added: Screenshot from 2021-06-24 13-49-31.png
2021-06-24 04:31 kathie12123 File Added: Screenshot from 2021-06-24 13-44-52.png
2021-06-24 04:31 kathie12123 File Added: Screenshot from 2021-06-24 13-44-02.png
2021-06-24 04:31 kathie12123 File Added: Screenshot from 2021-06-24 14-26-05.png
2021-06-24 04:31 kathie12123 File Added: Screenshot from 2021-06-24 14-25-28.png
2021-06-24 05:53 kathie12123 Note Added: 0005915
2021-06-30 11:28 derick Assigned To => derick
2021-06-30 11:28 derick Status new => closed
2021-06-30 11:28 derick Resolution open => no change required
2021-06-30 11:28 derick Note Added: 0005918