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

Also how do you start listening to console command debugging? I get the xdebug to connect but the br

U03T08LE3CP
U03T08LE3CP Posts: 185 πŸ§‘πŸ»β€πŸš€ - Cadet

Also how do you start listening to console command debugging? I get the xdebug to connect but the breakpoints are not hit

Comments

  • U03T08LE3CP
    U03T08LE3CP Posts: 185 πŸ§‘πŸ»β€πŸš€ - Cadet

    ok figured it out, there was a typo in the path mapping πŸ˜„

  • U03SN9552JC
    U03SN9552JC Posts: 78 πŸ§‘πŸ»β€πŸš€ - Cadet

    @U03T08LE3CP, hey there! I know this is a month old but I have the same issue. I cannot use a command and then get my breakpoint to fire in PHPStorm. "path mapping" where do I find this? Thank you!

  • U03T08LE3CP
    U03T08LE3CP Posts: 185 πŸ§‘πŸ»β€πŸš€ - Cadet

    Settings->PHP->Servers, new mapping, and your project directory -> /data

  • U03SN9552JC
    U03SN9552JC Posts: 78 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thank you, I'm having difficulty getting PHPStorm to hit any endpoints when I try my middleware command.

  • U03SN9552JC
    U03SN9552JC Posts: 78 πŸ§‘πŸ»β€πŸš€ - Cadet

    It can hit Yves just fine.

  • U03T08LE3CP
    U03T08LE3CP Posts: 185 πŸ§‘πŸ»β€πŸš€ - Cadet

    I've only tried backoffice stuff and console commands both work fine in Docker assuming -x flag is there.

  • U03SN9552JC
    U03SN9552JC Posts: 78 πŸ§‘πŸ»β€πŸš€ - Cadet

    docker/sdk cli -x

  • U03SN9552JC
    U03SN9552JC Posts: 78 πŸ§‘πŸ»β€πŸš€ - Cadet

    I forgot that flag, thank you!