{"action":"created","issue":{"url":"https://api.github.com/repos/LarryEitel/laravel-laradock-phpstorm/issues/4","repository_url":"https://api.github.com/repos/LarryEitel/laravel-laradock-phpstorm","labels_url":"https://api.github.com/repos/LarryEitel/laravel-laradock-phpstorm/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/LarryEitel/laravel-laradock-phpstorm/issues/4/comments","events_url":"https://api.github.com/repos/LarryEitel/laravel-laradock-phpstorm/issues/4/events","html_url":"https://github.com/LarryEitel/laravel-laradock-phpstorm/issues/4","id":171635569,"number":4,"title":"XDebug not working","user":{"login":"marconett","id":3315507,"avatar_url":"https://avatars.githubusercontent.com/u/3315507?v=3","gravatar_id":"","url":"https://api.github.com/users/marconett","html_url":"https://github.com/marconett","followers_url":"https://api.github.com/users/marconett/followers","following_url":"https://api.github.com/users/marconett/following{/other_user}","gists_url":"https://api.github.com/users/marconett/gists{/gist_id}","starred_url":"https://api.github.com/users/marconett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marconett/subscriptions","organizations_url":"https://api.github.com/users/marconett/orgs","repos_url":"https://api.github.com/users/marconett/repos","events_url":"https://api.github.com/users/marconett/events{/privacy}","received_events_url":"https://api.github.com/users/marconett/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2016-08-17T11:32:06Z","updated_at":"2016-10-30T11:06:54Z","closed_at":"2016-10-30T11:06:54Z","body":"Hi Larry,\r\n\r\nthank you for the nice write up on how to link LaraDock with PHPStorm. Sadly, I'm not able to get XDebug to work. Running tests works, but setting breakpoints doesn't. If I try to debug, PHPStorm just says: `Connection with 'xdebug 2.4.0.' was not established.`\r\n\r\nThe command PHPStorm uses is `ssh://root@localhost:2222/usr/bin/php -dzend_extension=/usr/lib/php/20151012/xdebug.so -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9000 -dxdebug.remote_host=172.18.0.1 /root/.phpstorm_helpers/phpunit.php --configuration /var/www/laravel/phpunit.xml ExampleTest /var/www/laravel/tests/ExampleTest.php`.\r\n\r\nIf I ssh into the workspace container and use the command manually, it tells me `Cannot find PHPUnit in include path (.:/usr/share/php)` and exits with code 1. But the same also happens when trying the command that is used to run tests, so I don't think that's the problem.\r\n\r\n* PHPStorm can successfully connect to the workspace container via SSH (changed port to 2222, but no issue there).\r\n* The host '172.18.0.1' is reachable from inside the workspace container.\r\n* `/usr/lib/php/20151012/xdebug.so` exists\r\n* Port 9000 is reachable and used by PHPStorm\r\n\r\nI most likely messed up some setting in PHPStorm, but I can not figure out where the problem is, as I closely followed your screenshots. Do you have an idea what the problem could be?"},"comment":{"url":"https://api.github.com/repos/LarryEitel/laravel-laradock-phpstorm/issues/comments/257144787","html_url":"https://github.com/LarryEitel/laravel-laradock-phpstorm/issues/4#issuecomment-257144787","issue_url":"https://api.github.com/repos/LarryEitel/laravel-laradock-phpstorm/issues/4","id":257144787,"user":{"login":"LarryEitel","id":299221,"avatar_url":"https://avatars.githubusercontent.com/u/299221?v=3","gravatar_id":"","url":"https://api.github.com/users/LarryEitel","html_url":"https://github.com/LarryEitel","followers_url":"https://api.github.com/users/LarryEitel/followers","following_url":"https://api.github.com/users/LarryEitel/following{/other_user}","gists_url":"https://api.github.com/users/LarryEitel/gists{/gist_id}","starred_url":"https://api.github.com/users/LarryEitel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarryEitel/subscriptions","organizations_url":"https://api.github.com/users/LarryEitel/orgs","repos_url":"https://api.github.com/users/LarryEitel/repos","events_url":"https://api.github.com/users/LarryEitel/events{/privacy}","received_events_url":"https://api.github.com/users/LarryEitel/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T11:06:54Z","updated_at":"2016-10-30T11:06:54Z","body":"These docs are being deprecated. Please check out this [PR branch](https://github.com/LarryEitel/laradock/tree/phpstorm-debug)."}}
{"actor":{"display_login":"LarryEitel"}}