OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

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 5 years, 11 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #33503
    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
  • #33504

    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)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No