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 team, I am trying to Configure debugging in docker using vs code I created a ne

U045KD44L7L
U045KD44L7L Posts: 55 🧑🏻‍🚀 - Cadet

Hi team, I am trying to Configure debugging in docker using vs code
I created a new "Launch.json" file with following code
{
"version": "0.2.0",
"configurations": [

    {
        "name": "Listen for XDebug",
        "type": "php",
        "request": "launch",
        "port": 9003,
        "runtimeExecutable": "/absolute/path/php/bin",
        "pathMappings": {
            "/data": "/local/absolute/path",
        },
        "log": true,
        "xdebugSettings": {
            "max_data": 65535,
            "show_hidden": 1,
            "max_children": 100,
            "max_depth": 5
        }
    },
]

}

After that there's a section "Avoiding timeouts" I am unable to understand where should i write below code

$config[ZedRequestConstants::CLIENT_OPTIONS] = [
'timeout' => 300,
];

Comments

  • Alberto Reyer
    Alberto Reyer Posts: 690 🪐 - Explorer

    In config/Shared/config_default-development.php in your project

  • U045KD44L7L
    U045KD44L7L Posts: 55 🧑🏻‍🚀 - Cadet

    Hello, @UL6DGRULR Reyer In order to ensure that I am on the correct track, I am giving the screenshot of the adjustments I did.
    Could you advise me where to place my debugging after I've configured it for better understanding?

  • Alberto Reyer
    Alberto Reyer Posts: 690 🪐 - Explorer

    looks fine