Last active
June 17, 2019 17:24
-
-
Save samhk222/38cf54477f00f3b51b7884e878f709bd to your computer and use it in GitHub Desktop.
Docker + xdebug +Vscode
This file contains hidden or 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
COPY 15-xdebug.ini /etc/php-7.1.d/15-xdebug.ini |
This file contains hidden or 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
xdebug support enabled | |
Version 2.5.5 | |
IDE Key VSCODE | |
Directive Local Value Master Value | |
xdebug.auto_trace Off Off | |
xdebug.cli_color 0 0 | |
xdebug.collect_assignments Off Off | |
xdebug.collect_includes On On | |
xdebug.collect_params 0 0 | |
xdebug.collect_return Off Off | |
xdebug.collect_vars Off Off | |
xdebug.coverage_enable On On | |
xdebug.default_enable On On | |
xdebug.dump.COOKIE no value no value | |
xdebug.dump.ENV no value no value | |
xdebug.dump.FILES no value no value | |
xdebug.dump.GET no value no value | |
xdebug.dump.POST no value no value | |
xdebug.dump.REQUEST no value no value | |
xdebug.dump.SERVER no value no value | |
xdebug.dump.SESSION no value no value | |
xdebug.dump_globals On On | |
xdebug.dump_once On On | |
xdebug.dump_undefined Off Off | |
xdebug.extended_info On On | |
xdebug.file_link_format no value no value | |
xdebug.force_display_errors Off Off | |
xdebug.force_error_reporting 0 0 | |
xdebug.halt_level 0 0 | |
xdebug.idekey VSCODE VSCODE | |
xdebug.max_nesting_level 256 256 | |
xdebug.max_stack_frames -1 -1 | |
xdebug.overload_var_dump 2 2 | |
xdebug.profiler_aggregate Off Off | |
xdebug.profiler_append Off Off | |
xdebug.profiler_enable Off Off | |
xdebug.profiler_enable_trigger Off Off | |
xdebug.profiler_enable_trigger_value no value no value | |
xdebug.profiler_output_dir /tmp /tmp | |
xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p | |
xdebug.remote_addr_header no value no value | |
xdebug.remote_autostart On On | |
xdebug.remote_connect_back Off Off | |
xdebug.remote_cookie_expire_time 3600 3600 | |
xdebug.remote_enable On On | |
xdebug.remote_handler dbgp dbgp | |
xdebug.remote_host 192.168.1.13 192.168.1.13 | |
xdebug.remote_log no value no value | |
xdebug.remote_mode req req | |
xdebug.remote_port 9000 9000 | |
xdebug.scream Off Off | |
xdebug.show_error_trace Off Off | |
xdebug.show_exception_trace Off Off | |
xdebug.show_local_vars Off Off | |
xdebug.show_mem_delta Off Off | |
xdebug.trace_enable_trigger Off Off | |
xdebug.trace_enable_trigger_value no value no value | |
xdebug.trace_format 0 0 | |
xdebug.trace_options 0 0 | |
xdebug.trace_output_dir /tmp /tmp | |
xdebug.trace_output_name trace.%c trace.%c | |
xdebug.var_display_max_children 128 128 | |
xdebug.var_display_max_data 512 512 | |
xdebug.var_display_max_depth 3 3 |
This file contains hidden or 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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", | |
"port": 9000, | |
// "log": true, | |
"pathMappings": { | |
"/var/www/html/meucambio-comercial-core/current/": "${workspaceFolder}/" | |
}, | |
"ignore": [ | |
"**/vendor/**/*.php", | |
"vendor/**/*.php", | |
"**Illuminate/**", | |
"Illuminate/**", | |
"Illuminate**" | |
], | |
"xdebugSettings": { | |
"max_children": 999, | |
"max_data": 512, | |
"max_depth": 5 | |
} | |
}, | |
{ | |
"name": "Launch currently open script", | |
"type": "php", | |
"request": "launch", | |
"program": "${file}", | |
"cwd": "${fileDirname}", | |
"port": 9000 | |
}, | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "vuejs: chrome", | |
"url": "http://www.local.meucambio.com.br", | |
"webRoot": "${workspaceFolder}/public", | |
"sourceMapPathOverrides": { | |
"webpack:///resources/assets/js/*.vue": "${workspaceFolder}/resources/assets/js/*.vue", | |
"webpack:///./resources/assets/js/*.js": "${workspaceFolder}/resources/assets/js/*.js", | |
"webpack:///./node_modules/*": "${workspaceFolder}/node_modules/*" | |
} | |
} | |
] | |
} |
This file contains hidden or 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
; Enable xdebug extension module | |
; Samuca - 2019-01-29 | |
zend_extension=xdebug.so | |
xdebug.remote_enable=1 | |
xdebug.remote_autostart=1 | |
xdebug.remote_handler=dbgp | |
xdebug.remote_port=9000 | |
;O Remote host é pega da máquina local (ip a ou ifconfig), e NÃO de dentro do Docker | |
xdebug.remote_host=192.168.1.13 | |
xdebug.idekey=VSCODE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment