1

General question

Just interesting, if it is possible to debug the admin side in Manento2. If it is, wold be glad to saw some hints.

Debug process now

For now I'm using PhpStorm with XDebug. If I want to debug some module, I'm just setting breakpoints and run in debug mode "Php Web Application" preset with link to this module. I suppose this approach can't be used to debug the admin side because of some "key" dynamically generating all the time.

desc

2
  • Which is your OS? Commented Jul 9, 2016 at 16:12
  • @KhoaTruongDinh thank you for participation. macOS El Captain, but I have already received the answer.
    – D.R.
    Commented Jul 9, 2016 at 16:43

1 Answer 1

3

Yes, it is possible to debug the admin side.

Simplest way for you, it disables the secure key.

But you also can use chrome xdebug helper or marklet to start debug from any page. In this key better to configure "php remote debug".

PS: don't use Magento on "localhost", you will have problem with cookies. Add doment to host files (like mage.dev) and use it

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.