File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 staticDeployLib = inputs . static-deploy . lib . ${ system } ;
3030 staticDeployPkgs = inputs . static-deploy . packages . ${ system } ;
3131 staticDeploy = staticDeployPkgs . plugin ;
32+ # Note that /tmp/xd has to be created to receive traces
3233 phpOptions = ''
3334 opcache.interned_strings_buffer = 16
3435 opcache.jit = 1255
3536 opcache.jit_buffer_size = 8M
3637 upload_max_filesize=1024M
38+ xdebug.mode=trace
39+ xdebug.output_dir=/tmp/xd
40+ xdebug.start_with_request=trigger
41+ xdebug.trace_format=3
42+ xdebug.trace_output_name = xdebug.trace.%t.%s
43+ xdebug.trigger_value = "e5c2217a39ff4e9ad4c5f99243bb47de68ee112aa685f79264686b202591ec80"
3744 '' ;
3845 overlay = self : super :
3946 let
4047 php = super . ${ phpPackage } . buildEnv {
4148 extraConfig = phpOptions ;
4249 extensions = { enabled , all } :
43- enabled ++ ( with all ; [ apcu imagick memcached ] ) ;
50+ enabled ++ ( with all ; [ apcu imagick memcached xdebug ] ) ;
4451 } ;
4552 phpIniFile =
4653 pkgs . runCommand "php.ini" { preferLocalBuild = true ; } ''
You can’t perform that action at this time.
0 commit comments