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..
hey everyone . I am configuring xdebug with vs-code . and i have folloed this steps . but its not w
hey everyone . I am configuring xdebug with vs-code .
and i have folloed this steps . but its not working . Anyone please help to fix this.
the thread you are following is an old way to configure xdebug in Spryker
if you are using vscode, then be sure to have the following extensions installed
.1
Name: PHP Debug
Id: xdebug.php-debug
Description: Debug support for PHP with Xdebug
Version: 1.32.0
Publisher: Xdebug
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug
- if you are using vscode, then be sure to have the following launch.json file
See my launch.json file below. See how I set the pathMappings./data property to a VSCode variable ${workspaceFolder}
You don't have set the runtimeExecutable path, and can safely keep it as is
- start docker in debug mode
- set a breakpoint, and execute a refresh on your site / service
breakpoint for yves public/Yves/index.php
breakpoint for zed public/Zed/index.php
marketplace.visualstudio.com
PHP Debug - Visual Studio Marketplace
Extension for Visual Studio Code - Debug support for PHP with Xdebug
Comments
-
Instead of posting the how to it would be helpful to post a clear description what is not working
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,056 ⚖️ - Guardians (admin)
- What happened to “now it is working”? 😢 https://sprykercommunity.slack.com/archives/CKJRJM5FG/p1683269948738019?thread_ts=1683195616.225259&cid=CKJRJM5FG
0 -
sir actually i am trying this in the another system . and i had follwed these steps and in my system whenever i am run debug it will give me a message in blue color (Listening to xdebug on port 0.0.0.9003) . But in another system i am not getting this message and breakpoint is not hitting .
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,056 ⚖️ - Guardians (admin)
can you show us a screenshot of your terminal when you execute
docker/sdk cli
?0 -
sir now it is hitting the break point .There is 3 extensions to install in vs code .
1. php xdebug .
2. 2.PHP
3. PHP profiler
But after sometime on browser i am getting0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 69 Spryker News
- 896 Developer Corner
- 758 Spryker Development
- 83 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 23 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random