Changes

From SME Server
Jump to navigationJump to search
Line 201: Line 201:  
Notes are here:
 
Notes are here:
 
http://docs.komodoide.com/Manual/debugger#debugging-programs-komodo-ide-only_remote-debugging_debugger-proxy
 
http://docs.komodoide.com/Manual/debugger#debugging-programs-komodo-ide-only_remote-debugging_debugger-proxy
 +
 +
===Perl with Visual Studio===
 +
 +
Still working on this but we need Perl Language Server
 +
 +
  yum --enablerepo=* install gcc gcc-c++ perl-App-cpanminus perl-AnyEvent-AIO perl-Coro
 +
 +
  cpanm Class::Refresh
 +
  cpanm ExtUtils::CBuilder
 +
 cpanm Compiler::Lexer
 +
 cpanm Hash::SafeKeys
 +
  cpanm Perl::LanguageServer
    
====PHP remote debugging====
 
====PHP remote debugging====
Line 220: Line 232:  
Next you need a small template fragment to enable remote debugging.
 
Next you need a small template fragment to enable remote debugging.
   −
Xdebug 2
+
=====Xdebug 2=====
    
  mkdir -p /etc/e-smith/templates-custom/etc/php.ini
 
  mkdir -p /etc/e-smith/templates-custom/etc/php.ini
Line 238: Line 250:       −
Xdebug 3
+
=====Xdebug 3 =====
    
New syntax.
 
New syntax.
Line 250: Line 262:  
  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.client_host                      = localhost
 
  xdebug.client_host                      = localhost
  xdebug.client_port                      = 9001
+
  xdebug.client_port                      = 9003
 
  xdebug.idekey                          = users
 
  xdebug.idekey                          = users
 
  xdebug.mode                            = debug
 
  xdebug.mode                            = debug
Line 313: Line 324:  
https://your.server.ip/index.php?somevalue=3&XDEBUG_SESSION_START=mydesktopkey
 
https://your.server.ip/index.php?somevalue=3&XDEBUG_SESSION_START=mydesktopkey
   −
====Visual Studio/VS Codium====
+
====Visual Studio/VS Codium ====
    
Sample launch.json
 
Sample launch.json

Navigation menu