ssossossossosso

Forums

Forums OroPlatform OroPlatform – Programming Questions How debug the Oro-Platform

This topic contains 1 reply, has 2 voices, and was last updated by  Alexandr Smaga 3 years, 3 months ago.

  • Creator
    Topic
  • #28023

    smartroot
    Participant

    Hi guys!

    I’m refactoring oro:cron:integration command line. My question is: How can I configure an IDE i.e. PHPStorm to debug this code? I’m not going to use the http application, only php cli. So, can you guys give me some tips please? How do you orocrm developers debug your systems?

    Thanks!

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #28024

    Alexandr Smaga
    Participant

    Hello!

    Are you running your dev env in virtual machine or directly on work station ?
    You need to have xdebug installed and enabled for both FPM(or CGI) and CLI.
    Then you can configure PHPStorm to listen all connection that will contains special “IDEkey” header (create “xdebug remote debug configuration”).

    Enable listening and run command

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.