{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/21083","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/21083/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/21083/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/21083/events","html_url":"https://github.com/symfony/symfony/pull/21083","id":197896373,"number":21083,"title":"[PhpUnitBridge] display the command being executed","user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"labels":[{"id":100378,"url":"https://api.github.com/repos/symfony/symfony/labels/Feature","name":"Feature","color":"02e10c","default":false},{"id":205587161,"url":"https://api.github.com/repos/symfony/symfony/labels/PhpUnitBridge","name":"PhpUnitBridge","color":"dddddd","default":false},{"id":237003792,"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-28T18:30:09Z","updated_at":"2016-12-29T21:32:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/21083","html_url":"https://github.com/symfony/symfony/pull/21083","diff_url":"https://github.com/symfony/symfony/pull/21083.diff","patch_url":"https://github.com/symfony/symfony/pull/21083.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Branch?       | master\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | \r\n| License       | MIT\r\n| Doc PR        | \r\n\r\nIf you want to pass environment variables to your tests (for example, to make use of Xdebug), you need to execute the actual process being run by the PHPUnit bridge wrapper. Displaying the commands being executed makes it easier to run them yourself (see also a previous discussion in #18898)."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/269696733","html_url":"https://github.com/symfony/symfony/pull/21083#issuecomment-269696733","issue_url":"https://api.github.com/repos/symfony/symfony/issues/21083","id":269696733,"user":{"login":"julienfalque","id":1736542,"avatar_url":"https://avatars.githubusercontent.com/u/1736542?v=3","gravatar_id":"","url":"https://api.github.com/users/julienfalque","html_url":"https://github.com/julienfalque","followers_url":"https://api.github.com/users/julienfalque/followers","following_url":"https://api.github.com/users/julienfalque/following{/other_user}","gists_url":"https://api.github.com/users/julienfalque/gists{/gist_id}","starred_url":"https://api.github.com/users/julienfalque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienfalque/subscriptions","organizations_url":"https://api.github.com/users/julienfalque/orgs","repos_url":"https://api.github.com/users/julienfalque/repos","events_url":"https://api.github.com/users/julienfalque/events{/privacy}","received_events_url":"https://api.github.com/users/julienfalque/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T21:32:20Z","updated_at":"2016-12-29T21:32:20Z","body":"I experienced the same problem.\r\n\r\nI'm not sure it's the best solution but on my setup the extension is not loaded at all for CLI to avoid slowing down PHP commands. When I want to debug a script, I run it with `php -dzend_extension=xdebug.so ...`. This works pretty well unless the script is in a child process, like with `simple-phpunit`.\r\n\r\nI don't think a fix is possible for my use case because, as far as I know, there is no way to detect this runtime configuration to forward it to the child process. But displaying the command so I can run it manually with definitely help."}}
{"actor":{"display_login":"julienfalque"}}