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

Hello All, Anybody configured xdebug in vs code?

U028VTHNMF1
U028VTHNMF1 Posts: 64 πŸ§‘πŸ»β€πŸš€ - Cadet

Hello All,

Anybody configured xdebug in vs code?

Comments

  • U0276DZ518A
    U0276DZ518A Posts: 5 πŸ§‘πŸ»β€πŸš€ - Cadet

    I did it

  • U0276DZ518A
    U0276DZ518A Posts: 5 πŸ§‘πŸ»β€πŸš€ - Cadet

    Here is my config

    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Listen for XDebug",
                "type": "php",
                "request": "launch",
                "port": 9003,
                "runtimeExecutable": "/usr/bin/php",
                "pathMappings": {
                    "/data": "/home/artur/Projects/spryker-btc",
                },
                "log": true,
                "xdebugSettings": {
                    "max_data": 65535,
                    "show_hidden": 1,
                    "max_children": 100,
                    "max_depth": 5
                }
            },
        ]
    }
    
  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 πŸ§‘πŸ»β€πŸš€ - Cadet

    oh dang I dinked around with this a bit in the beginning, didn’t get it working and went to phpstorm, but that looks decent, what are you using for the db connection?

  • U0276DZ518A
    U0276DZ518A Posts: 5 πŸ§‘πŸ»β€πŸš€ - Cadet

    I just installed db client on my system (adminer) and connecting through that client

  • U01JBB8LNTE
    U01JBB8LNTE Posts: 207 πŸ§‘πŸ»β€πŸš€ - Cadet

    cool, thanks πŸ™