{"action":"created","issue":{"url":"https://api.github.com/repos/martomo/SublimeTextXdebug/issues/167","repository_url":"https://api.github.com/repos/martomo/SublimeTextXdebug","labels_url":"https://api.github.com/repos/martomo/SublimeTextXdebug/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/martomo/SublimeTextXdebug/issues/167/comments","events_url":"https://api.github.com/repos/martomo/SublimeTextXdebug/issues/167/events","html_url":"https://github.com/martomo/SublimeTextXdebug/issues/167","id":189389459,"number":167,"title":"Don't get xdebug to get to breakpoints xampp windows magento 2","user":{"login":"PabloPlazaLastras","id":6860915,"avatar_url":"https://avatars.githubusercontent.com/u/6860915?v=3","gravatar_id":"","url":"https://api.github.com/users/PabloPlazaLastras","html_url":"https://github.com/PabloPlazaLastras","followers_url":"https://api.github.com/users/PabloPlazaLastras/followers","following_url":"https://api.github.com/users/PabloPlazaLastras/following{/other_user}","gists_url":"https://api.github.com/users/PabloPlazaLastras/gists{/gist_id}","starred_url":"https://api.github.com/users/PabloPlazaLastras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabloPlazaLastras/subscriptions","organizations_url":"https://api.github.com/users/PabloPlazaLastras/orgs","repos_url":"https://api.github.com/users/PabloPlazaLastras/repos","events_url":"https://api.github.com/users/PabloPlazaLastras/events{/privacy}","received_events_url":"https://api.github.com/users/PabloPlazaLastras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-15T13:18:42Z","updated_at":"2016-11-21T12:20:21Z","closed_at":null,"body":"Windows 7 with Sublime 3 (latest version) \r\nI installed package thought package control (although I don't know where all the files are, as if I go to Sublime Text -Preferences-Browse Packages I can only see a 'user' folder with some settings, cache and log files) \r\nI have an instance of magento2 installed with xampp which is working fine. I placed a test php file  in my magento home directory. \r\nI went to https://xdebug.org/wizard.php to find out the xdebug dll file to download and place in xampp/php/ext. The file with my configuration is php_xdebug-2.5.0rc1-7.0-vc14.dll \r\nI updated my php ini file with: \r\n\r\n[XDebug]\r\nzend_extension = C:\\xampp\\php\\ext\\php_xdebug-2.5.0rc1-7.0-vc14.dll\r\nxdebug.remote_enable = 1\r\nxdebug.remote_handler = dbgp\r\nxdebug.remote_host = 127.0.0.1\r\nxdebug.remote_port = 9000\r\nxdebug.profiler_append = 0\r\nxdebug.profiler_enable = 0\r\nxdebug.profiler_enable_trigger = 0\r\nxdebug.profiler_output_dir = \"C:\\xampp\\tmp\"\r\n; xdebug.profiler_output_name = \"xdebug_profile.%R::%u\"\r\nxdebug.remote_mode = req\r\n\r\nI also changed in php.ini to output_buffering = Off although I tried default value which was commented out\r\nI created a sublime project file with the following: \r\n {\r\n        \"folders\": [\r\n            {\r\n            \"follow_symlinks\": true,\r\n            \"path\": \".\"\r\n            }\r\n        ],\r\n        \"settings\": {\r\n            \"xdebug\": {\r\n                \"url\": \"http://localhost/magento2\",\r\n        \"break_on_exception\": [\r\n        // E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR\r\n        \"Fatal error\",\r\n        // E_RECOVERABLE_ERROR (since PHP 5.2.0)\r\n        \"Catchable fatal error\",\r\n        // // E_WARNING, E_CORE_WARNING, E_COMPILE_WARNING, E_USER_WARNING\r\n        // \"Warning\",\r\n        // // E_PARSE\r\n        // \"Parse error\",\r\n        // // E_NOTICE, E_USER_NOTICE\r\n        // \"Notice\",\r\n        // // E_STRICT\r\n        // \"Strict standards\",\r\n        // // E_DEPRECATED, E_USER_DEPRECATED (since PHP 5.3.0)\r\n        // \"Deprecated\",\r\n        // // 0\r\n        // \"Xdebug\",\r\n        // // default\r\n        // \"Unknown error\"\r\n    ], \r\n            }\r\n        }\r\n    }\r\n\r\nI tried two ways: \r\n1-Breakpoint and 'start debugging' and going to the php file in chrome with the Xdebugger Helper extension set up with the IDE key=SUBLIME.XDEBUG. \r\n2-Breakpoint and start debugging (Launch browser) which takes me to http://localhost/magento2/?XDEBUG_SESSION_START=sublime.xdebug. I manually go to  http://localhost/magento2/**test.php**?XDEBUG_SESSION_START=sublime.xdebug. \r\nResult for both scenarios is that there is no stop in breakpoint (and no update to the xdebug tabs below in Sublime text), the php file runs completely. \r\n(I made sure also that in the second one the Xdebugger Helper extension was disabled, although I tried with extension on also)\r\n\r\nI'm getting crazy please help!"},"comment":{"url":"https://api.github.com/repos/martomo/SublimeTextXdebug/issues/comments/261922396","html_url":"https://github.com/martomo/SublimeTextXdebug/issues/167#issuecomment-261922396","issue_url":"https://api.github.com/repos/martomo/SublimeTextXdebug/issues/167","id":261922396,"user":{"login":"PabloPlazaLastras","id":6860915,"avatar_url":"https://avatars.githubusercontent.com/u/6860915?v=3","gravatar_id":"","url":"https://api.github.com/users/PabloPlazaLastras","html_url":"https://github.com/PabloPlazaLastras","followers_url":"https://api.github.com/users/PabloPlazaLastras/followers","following_url":"https://api.github.com/users/PabloPlazaLastras/following{/other_user}","gists_url":"https://api.github.com/users/PabloPlazaLastras/gists{/gist_id}","starred_url":"https://api.github.com/users/PabloPlazaLastras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabloPlazaLastras/subscriptions","organizations_url":"https://api.github.com/users/PabloPlazaLastras/orgs","repos_url":"https://api.github.com/users/PabloPlazaLastras/repos","events_url":"https://api.github.com/users/PabloPlazaLastras/events{/privacy}","received_events_url":"https://api.github.com/users/PabloPlazaLastras/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T12:20:21Z","updated_at":"2016-11-21T12:20:21Z","body":"Thanks for your response.\r\n My 9000 port is definitely open and I can see it 'listening' when I start a debug session in sublime text. It doesn't show when running a netstat -a -n if sublime is closed, so nothing else is using it. changed to 9001 and still the same.\r\nI noticed also that in my phpinfo there was the following config: IDE Key=plastras (which is my windows username and I don't really know where is that set) instead of SUBLIME.XDEBUG as it should be, so I changed it on php.ini as xdebug.idekey=\"SUBLIME.XDEBUG on the xdebug settings but didn't make any difference. \r\nAlso, I noticed that you commented recently on https://github.com/martomo/SublimeTextXdebug/issues/142 that you tried sublime text and you have the same errors than me on xdebug.log. Did you get it working yourself? it is not clear from the text on that issue. \r\nI would try Netbeans or PhpStorm, but I like to start what I have finished and I''m pretty sure xdebug works as port gets open and closed and logs updated...\r\n"}}
{"actor":{"display_login":"PabloPlazaLastras"}}