What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hey all... xdebug connection problems again... In Phpstorm server is configured, container are start

U0432RV4J8P
U0432RV4J8P Posts: 12 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
edited November 2022 in Help

Hey all... xdebug connection problems again...
In Phpstorm server is configured, container are started with th -x flag, in xdebug.ini ${SPRYKER_XDEBUG_HOST_IP} is replaced with host.docker.internal.
Ide is set to listen for incoming xdebug connections.

In the logs xdebug complains time-outs (NOTICE: PHP message: Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: 172.18.208.119:9003 (through xdebug.client_host/xdebug.client_port) :-()

I could not get any breakpoint hit in Phpstorm. Any suggestions to get xdebug connect to ide?

Probably i have to mention that i am using the b2b demo shop...

Comments

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    I use

    [XDebug]
    xdebug.client_host=host.docker.internal
    xdebug.client_port=9003
    xdebug.mode=develop,debug,coverage
    xdebug.start_with_request=trigger
    xdebug.output_dir="/var/www/spryker/releases/current/data/xdebug"
    xdebug.max_nesting_level=1000
    

    but we have own dev setup and do not use the spryker sdk

  • U0432RV4J8P
    U0432RV4J8P Posts: 12 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    looks almost similar to my ini file except output_dir

  • U0432RV4J8P
    U0432RV4J8P Posts: 12 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Unfortunately that doesn't help... ๐Ÿ˜ž