You should set the following environment variable before launching your tests:
XDEBUG_CONFIG="XDEBUG_SESSION_START="
It works for me.
Question
Having hard time with Behat, cent find the way to debug (php/xdebug using breakpoints and steps). Does anybody have experience or maybe there is better way to do the same?
Edited:
"behat/mink": "*",
"behat/mink-extension": "*",
"behat/mink-zombie-driver": "*@dev",
"behat/mink-selenium2-driver": "*"
Testing regular feature on website.
Solution
You should set the following environment variable before launching your tests:
XDEBUG_CONFIG="XDEBUG_SESSION_START="
It works for me.
OTHER TIPS
* the xdebug section may be harder to locate:
Once commenting the autostart gets annoying in the long run, it may be worth investing in some parametrized switch or separate ini files. But I would give myself a week of annoyance before going down this path.