PHPStorm path mappings for ZF2 sessionmanager

I'm attempting to troubleshoot PHPStorm and Xdebug on a ZF2 based project

  • I setup XDebug 2.x properly
  • Got PHPStorm to pickup the settings
  • Set a few breakpoints down in my /public/index.php

.. success was mine. But then I start to need to map the ZF2 related PHP files, and it's staying grayed out.

Answers


Select menu Run->Edit Configuration

If you dont have any config Add New Config->Php Web Application

In bottom section Before Lunch ... click Add->Upload Files To Remote Host

Local Roots to upload is what you need , click add and select your projects root directory and then click edit mapping in the bottom ...

this should fix your mapping problem...


Need Your Help

linux cron script with function doesn't running

linux bash cron ubuntu-server

I'm trying to run a script as a job in the cron.