Skip to content

Instantly share code, notes, and snippets.

@Pahom-ka
Created May 16, 2024 13:08
Show Gist options
  • Save Pahom-ka/cd17f28d435e0a8197c0354171299292 to your computer and use it in GitHub Desktop.
Save Pahom-ka/cd17f28d435e0a8197c0354171299292 to your computer and use it in GitHub Desktop.
xdebug phpstorm open server panel
[xdebug]
;off Nothing is enabled (0 overhead)
;develop Enables Development Aids + overloaded var_dump()
;coverage Enables Code Coverage Analysis
;debug Enables Step Debugging
;gcstats Enables Garbage Collection Statistics
;profile Enables Profiling
;trace Enables the Function Trace feature
;Example: xdebug.mode=develop,trace
xdebug.mode = "develop,debug,profile"
;xdebug.cli_color = 0
;xdebug.client_discovery_header =
xdebug.client_host = "localhost"
xdebug.client_port = 9003
;xdebug.cloud_id =
;xdebug.collect_assignments = Off
;xdebug.collect_return = Off
;xdebug.connect_timeout_ms = 200
;xdebug.discover_client_host = Off
;xdebug.dump.COOKIE =
;xdebug.dump.ENV =
;xdebug.dump.FILES =
;xdebug.dump.GET =
;xdebug.dump.POST =
;xdebug.dump.REQUEST =
;xdebug.dump.SERVER =
;xdebug.dump.SESSION =
;xdebug.dump_globals = On
;xdebug.dump_once = On
; dump undefined values from the superglobals
;xdebug.dump_undefined = Off
;xdebug.file_link_format =
;xdebug.filename_format =
;xdebug.force_display_errors = Off
;xdebug.force_error_reporting = 0
;xdebug.gc_stats_output_name = "gcstats.%p"
;xdebug.halt_level = 0
xdebug.idekey = "PHPSTORM"
xdebug.log = "{root_dir}/logs/{module_name}/xdebug.log"
;0 Criticals Errors in the configuration
;1 Errors Connection errors
;3 Warnings Connection warnings
;5 Communication Protocol messages
;7 Information Information while connecting
;10 Debug Breakpoint resolving information
;xdebug.log_level = 7
;xdebug.max_nesting_level = 256
;xdebug.max_stack_frames = -1
xdebug.output_dir = "{root_dir}/temp/{module_name}/{profile_name}/xdebug"
; 1 - append, 0 - overwrite
;xdebug.profiler_append = Off
;xdebug.profiler_output_name = "cachegrind.out.%p"
; disable the @ (shut-up) operator
;xdebug.scream = Off
;xdebug.show_error_trace = Off
;xdebug.show_exception_trace = Off
;xdebug.show_local_vars = Off
; yes, no, default
;xdebug.start_upon_error = "default"
; yes, no, trigger, default
;xdebug.start_with_request = "default"
; 0 - human readable, 1 - computer readable, 2 - HTML
;xdebug.trace_format = 0
; 1 - append, 0 - overwrite
;xdebug.trace_options = 0
;xdebug.trace_output_name = "trace.%c"
;xdebug.trigger_value =
;xdebug.use_compression = 0
;xdebug.var_display_max_children= 128
;xdebug.var_display_max_data = 512
;xdebug.var_display_max_depth = 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment