- Setting breakpoint
- Request http://127.0.0.1:8000/xxxx?XDEBUG_SESSION_START=yyyy
Created
September 30, 2015 03:50
-
-
Save kengos/19ed15387a4cd4030b03 to your computer and use it in GitHub Desktop.
phpdebug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; /usr/local/etc/php/5.6/conf.d/ext-xdebug.ini | |
[xdebug] | |
zend_extension="/usr/local/opt/php56-xdebug/xdebug.so" | |
xdebug.remote_enable = 1 | |
xdebug.remote_host = "127.0.0.1" | |
xdebug.remote_port = 9000 | |
xdebug.remote_mode = req | |
xdebug.remote_connect_back = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install "Xdebug Client" | |
2. Create [your-project].sublime-project | |
```json | |
{ | |
"folders": | |
[ | |
{ | |
"path": "." | |
} | |
], | |
"settings": { | |
"xdebug": { | |
"url": "http://localhost:8000/***/" | |
} | |
} | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment