Changes

Jump to navigation Jump to search
no edit summary
Line 203: Line 203:     
Komodo-IDE https://www.activestate.com/products/komodo-ide
 
Komodo-IDE https://www.activestate.com/products/komodo-ide
 +
 +
Komodo Debug tools: https://code.activestate.com/komodo/remotedebugging/
    
Eclipse https://www.eclipse.org/
 
Eclipse https://www.eclipse.org/
Line 209: Line 211:     
Codium https://itsfoss.com/vscodium/ << Opensource version may not have extensions
 
Codium https://itsfoss.com/vscodium/ << Opensource version may not have extensions
 +
 +
 +
PHP debugging:
 +
 +
Sample launch.json
 +
 +
{
 +
    // 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"        : "vscphpdebug",
 +
            "type"        : "php",
 +
            "request"    : "launch",
 +
            "port"        : 9001,
 +
            "stopOnEntry" : false,
 +
            "proxy": {
 +
            "enable" : true,
 +
            "host" : "192.168.10.1",
 +
            "key" : "myvsc",
 +
            "allowMultipleSessions" : true
 +
            },
 +
            "pathMappings": {
 +
            "/home/e-smith/files/ibays/testbay/html/Opencart_Admin_Rest_Api": "${workspaceFolder}"
 +
            },
 +
        },
 +
    ]
 +
}
 +
 +
We then need to run the debug proxy from Komodo
 +
 +
python /root/dbgp/bin/pydbgpproxy -d 127.0.0.1:9000 -i 192.168.10.1:9001 -l DEBUG
 +
 +
Now you can run start the PHO debugger in Codium and then trigger it with a URL like this:
 +
 +
https://my.SME.Server/testbay/myTestPhpFile.php?XDEBUG_SESSION_START=myvsc
 +
 +
I can't see a remote Perl debugger as yet.
    
----
 
----

Navigation menu