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

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

    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

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

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    of course I have another breakpoint πŸ˜…

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    thank you though πŸ™‚

  • Alberto Reyer
    Alberto Reyer Lead Spryker Solution Architect / Technical Director Posts: 690 πŸͺ - Explorer

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

  • Alberto Reyer
    Alberto Reyer Lead Spryker Solution Architect / Technical Director Posts: 690 πŸͺ - Explorer

    (Settings -> PHP -> Debug)

  • U034FR0514Z
    U034FR0514Z Posts: 7 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    the request does reach the gateway controller

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UL6DGRULR I have 20 sim. connections πŸ˜„

  • U034FR0514Z
    U034FR0514Z Posts: 7 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • U018XELUZS9
    U018XELUZS9 Posts: 167 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    yup

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    no luck

  • U018XELUZS9
    U018XELUZS9 Posts: 167 πŸ§‘πŸ»β€πŸš€ - Cadet

    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

    when I debug backoffice it works

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    it only does not work for nested requests