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 folks, is it possible to use debugger on vendor/spryker/modules code? I am using a XDebug with Ph
Hi folks, is it possible to use debugger on vendor/spryker/modules code? I am using a XDebug with PhpStorm ide.
Comments
-
Sure, set a breakpoint in your IDE and debug it like you do with your project code.
0 -
I can reach the public/Yves/index.php breakpoint.
But putting it anywhere inside the vendor/spryker/module/phpclass does not yield the same result
0 -
Iโm putting a breakpoint on Glue Controller class. and makign the request through Postman
0 -
@U025NDD2QNA once youโre in the index.php endpoint - try to use โgo intoโ button to get deeper. Does PHPStorm offer you to โconfigure path mappingsโ in the debug window? (https://documentation.spryker.com/docs/configuring-debugging-in-docker#configuring-servers)
0 -
thanks Andriy. I was able to get into
YvesBootstrap
php class.But when I make any http request to access Glue controller method, I dont get access to it.
0 -
Okay, did you pass the right Cookie with the request?
0 -
I mean, as I understand you use Postman - so you need to add a cookie from there
0 -
and so you can โbreak at first lineโ in PHPStorm to be sure
0 -
ah thanks Andriy! it worked ๐
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 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
- 70 Spryker Safari Questions
- 50 Random