Calling Developers!
We are reenergizing our code contribution process! Learn More

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..

hi all, I am having an issue with debugging Zed requests coming through Yves->Client So debugge

Options
UM9F81RCP
UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet

hi all,

I am having an issue with debugging Zed requests coming through Yves->Client

So debugger starts and I can debug what ever is on Yves side. but it is not starting debug session for Zed!

Anyone else having the same issue? how did you fix it?
Thanks a lot

Comments

  • U034FR0514Z
    U034FR0514Z Posts: 7 🧑🏻‍🚀 - Cadet
    Options

    hi, I believe you just need additional breakpoint in zed, since yves makes internal curl request to zed it is not trackable with the same debugging session. of course you need to allow multiple debug requests to your debugger

  • U034FR0514Z
    U034FR0514Z Posts: 7 🧑🏻‍🚀 - Cadet
    Options

    if that's not the case, unfortunetly not sure what then, everything worked out of the box for me

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet
    Options

    of course I have another breakpoint 😅

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet
    Options

    thank you though 🙂

  • Alberto Reyer
    Alberto Reyer Lead Spryker Solution Architect / Technical Director Posts: 690 🪐 - Explorer
    Options

    Breakpoint in Zed and more then one simultanous connection in PHPStorm:

  • Alberto Reyer
    Alberto Reyer Lead Spryker Solution Architect / Technical Director Posts: 690 🪐 - Explorer
    Options

    (Settings -> PHP -> Debug)

  • U034FR0514Z
    U034FR0514Z Posts: 7 🧑🏻‍🚀 - Cadet
    Options

    Maybe your client call doesn't reach gateway controller at all?

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet
    Options

    the request does reach the gateway controller

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet
    Options

    it is a perfectly working functionality that.I am trying to debug

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet
    Options

    @UL6DGRULR I have 20 sim. connections 😄

  • U034FR0514Z
    U034FR0514Z Posts: 7 🧑🏻‍🚀 - Cadet
    Options

    hmm, if it's perfectly working it means the request does reach the gateway controller

  • U018XELUZS9
    U018XELUZS9 Posts: 167 🧑🏻‍🚀 - Cadet
    Options

    Did you already try to enable "Break at first line in PHP scripts" in PhpStorm?

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet
    Options

    yup

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet
    Options

    no luck

  • U018XELUZS9
    U018XELUZS9 Posts: 167 🧑🏻‍🚀 - Cadet
    Options

    Is Xdebug working as expected if you open the zed admin-panel/backoffice? Or does it only not work for requests via the gateway?

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet
    Options

    when I debug backoffice it works

  • UM9F81RCP
    UM9F81RCP Posts: 516 🧑🏻‍🚀 - Cadet
    Options

    it only does not work for nested requests