ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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

  • Creator
    Topic
  • #6614
    smartroot
    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
  • #6620

    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.