Skip to content

Instantly share code, notes, and snippets.

@devwax
Last active March 8, 2020 04:38
Show Gist options
  • Save devwax/5641816b9089f95c582c3f4eccf49946 to your computer and use it in GitHub Desktop.
Save devwax/5641816b9089f95c582c3f4eccf49946 to your computer and use it in GitHub Desktop.
PHP Debugger + VSCODE + Local by Flywheel
[Xdebug]
zend_extension = /opt/php/7.2.0/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.remote_port="9000"
xdebug.profiler_enable=0
xdebug.overload_var_dump=off
xdebug.remote_host="172.17.0.1"
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = /app/profiler
xdebug.idekey = VSCODE
xdebug.remote_autostart = 1
; VSCODE / Local by Flywheel
; https://github.com/felixfbecker/vscode-php-debug
; VSCODE Launch Configuration
; ...
; "configurations": [
; {
; "name": "Listen for XDebug",
; "type": "php",
; "request": "launch",
; "port": 9000,
; // server -> local
; "pathMappings": {
; "/app/public": "${workspaceRoot}"
; }
; },
; ...
; IDE Key = VSCODE
; https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc?hl=en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment