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

Good Evening, i am working on a spryker B2C Shop with docker/sdk 1.14.3. The Debug Mode has become s

Options
U0121G9LVNC
U0121G9LVNC Posts: 27 🧑🏻‍🚀 - Cadet

Good Evening,
i am working on a spryker B2C Shop with docker/sdk 1.14.3. The Debug Mode has become so slow that it is not even possible to open some areas in Zed anymore. For example the Edit Product View in Zed completely hangs up even with no breakpoints active or phpstorm completely closed. The request just times out after 60 seconds.
Is there any way to get the debugger to speed up? It`s impossible to work on the backend this way.
I also tried upgrading docker/skd to 1.18.1 with no better result.
MacOS 10.15.3

Comments

  • U0121G9LVNC
    U0121G9LVNC Posts: 27 🧑🏻‍🚀 - Cadet
    Options

    It seems that every other breakpoint (in yves or other zed areas) is working. It is just the product edit view, where a lot of DB Queries are run. zed.default timeouts are set to 10 minutes

  • USFC8N1NH
    USFC8N1NH Posts: 16 🧑🏻‍🚀 - Cadet
    Options

    Are you listening for debug connections or have you started a permanent debug connection?
    Have you checked your memory? Spryker usually takes lots of your ram (about 9 GB on my machine) and macOS has a very aggressive “just put it into swap” - strategy.

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    Hello Christian,

    How many resources have you dedicated for Docker Desktop?

  • U0121G9LVNC
    U0121G9LVNC Posts: 27 🧑🏻‍🚀 - Cadet
    edited August 2020
    Options

    • Listening for Debug Connections
    • Memory seems okay 12/16gb
    • Docker Desktop Resources 4 CPU, 5GB Mem, 1 GB SWAP, 60GB Disk Image (6 used)