I cannot get a curl request fired from a Vagrant instance on my machine to fire Xdebug breakpoints in my code in PhpStorm. Everything works correctly when I instantiate a request from my browser, but I need to debug an external API call into my system and I am using command line curl to do this.
So this line:
curl -v -i -X POST -d '{"data":"thisisatest"}' http://<myhost>/api/MeasureOne/upeOne/uploadTranscripEBUG_SESSION=PHPSTORM
does not work. It does not trigger the breakpoints in PhpStorm.
Any ideas will be helpful.