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, two questions on xdebug: 1. When my PHPStorm receives any input from Chromes xdebug helper the

ULL0N440J
ULL0N440J Posts: 184 πŸ§‘πŸ»β€πŸš€ - Cadet
edited November 2019 in Help

Hi,
two questions on xdebug:

  1. When my PHPStorm receives any input from Chromes xdebug helper the first thing that happens is: project/vendor/autoload.php is opened and debugged. This blocks the page in Chrome from being "build" (solved)
  2. I tried to debug our checkoutCommand. It's executed as intended (order is processed) - but I can set breakpoints anywhere in this file and xdebug won't stop at a single one. I've tested it with several other classes/ files - those are all pausing on breakpoints properly πŸ€·β€β™‚οΈπŸ» I had the guess that the path wasn't correctly bound, but this seems to be fine, too.

Comments

  • opcache disabled?

  • ULL0N440J
    ULL0N440J Posts: 184 πŸ§‘πŸ»β€πŸš€ - Cadet

    I restarted php on the vm, so it might be cleared

  • ULL0N440J
    ULL0N440J Posts: 184 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited November 2019

    Solved the first problem. Just a checkmark too much in phpstorm preferences πŸ€¦β€β™‚οΈπŸ»

  • Andriy Netseplyayev
    Andriy Netseplyayev Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited November 2019

    for the 2nd one - is your command executed synchronously during order creation?

  • ULL0N440J
    ULL0N440J Posts: 184 πŸ§‘πŸ»β€πŸš€ - Cadet

    Yes