symfony xdebug

In the end the following steps are needed:

Put the following content into: /etc/php/7.0/mods-available/xdebug.ini

zend_extension=xdebug.so
xdebug.remote_enable=On
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9021
xdebug.remote_mode=req
Export:

export XDEBUG_CONFIG="idekey=PHPSTORM"
Then configure PhpStorm as the image shows.

Set as IDE key PHPSTORM into the Firefox plugin

Enable xdebug on Firefox via pressing the Firefox enable xdebug button button. Alternatively you can append the url with ?XDEBUG_START part

Then press the button disabled xdebug button in PhpStorm. In case you see the PhpStorm enable xdebug](https://i.stack.imgur.com/whuPx.png) button press that until it becomes ![button disabled xdebug then press it back again.

NOTE:

In case you change xdebug settings TERMINATE the xdebug session by pressing PhpStorm enable xdebug button and pressing back again.

Furthermore in case you run composer via terminal disable PhpStorm to listen xdebug by pressing PhpStorm enable xdebug button.

Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source