Changes

From SME Server
Jump to navigationJump to search
m
no edit summary
Line 225: Line 225:  
  xdebug.remote_enable                  = true
 
  xdebug.remote_enable                  = true
 
  xdebug.remote_host                    = 127.0.0.1
 
  xdebug.remote_host                    = 127.0.0.1
  xdebug.remote_port                    = 9000
+
  xdebug.remote_port                    = 9001
 
  xdebug.remote_handler                  = dbgp
 
  xdebug.remote_handler                  = dbgp
 
  xdebug.remote_log                      = /var/log/xdebug.log
 
  xdebug.remote_log                      = /var/log/xdebug.log
Line 242: Line 242:     
  [Debugger]
 
  [Debugger]
  xdebug.start_with_request=yes
+
  xdebug.start_with_request               = yes
  xdebug.discover_client_host=true
+
  xdebug.discover_client_host             = true
  xdebug.remote_cookie_expire_time = 3600
+
  xdebug.remote_cookie_expire_time       = 3600
  xdebug.client_host=localhost
+
  xdebug.client_host                     = localhost
  xdebug.client_port = 9000
+
  xdebug.client_port                     = 9001
  xdebug.remote_handler = dbgp
+
  xdebug.idekey                          = users
  xdebug.idekey=users
+
  xdebug.mode                            = debug
  xdebug.mode = debug
+
  xdebug.log                              = /var/log/xdebug.log
      Line 278: Line 278:  
We can obtain the debug proxy from the installation, and move it to the server and then execute from there:
 
We can obtain the debug proxy from the installation, and move it to the server and then execute from there:
   −
  python /root/dbgp/bin/pydbgpproxy -d 127.0.0.1:9000 -i 192.168.10.1:9003
+
  python /root/dbgp/bin/pydbgpproxy -d 127.0.0.1:9001 -i 192.168.10.1:9003
    
Or alternatively grab the lastest xdebug client here:
 
Or alternatively grab the lastest xdebug client here:
Line 286: Line 286:  
  curl https://xdebug.org/files/binaries/dbgpProxy -o dbgpProxy
 
  curl https://xdebug.org/files/binaries/dbgpProxy -o dbgpProxy
 
  chmod 0700 dbgpProxy
 
  chmod 0700 dbgpProxy
  ./dbgpProxy -s 127.0.0.1:9000 -i 192.168.10.1:9003
+
  ./dbgpProxy -s 127.0.0.1:9001 -i 192.168.10.1:9003
    
In Komodo Go to Preferences, Debugger, Connections
 
In Komodo Go to Preferences, Debugger, Connections

Navigation menu