Steps to setup window CLI debug enviornment? |
Veteran
|
have you looked at this post: php-cli-script-debugging-with-dbg-cli-t1672.html?highlight=cli
Does it help? |
||||||||||||
|
|
yup, i have read that post but still donno what to do.
I wonder how the debugger works with output of -- fwrite(STDOUT,"$k: $v \n"); -- coz if i change all STDOUT to PRINT, it will work just fine inside PhpEd.... I want to able to debug the scripts in a command console window... |
||||||||||||
|
Site Admin
|
both remote and local are supported, but you have to start debug session somehow.
IDE does it by supplying DBGSESSID with appropriate value in the URL. If you run such scripts in a console and you need to start debug session, just call DebugBreak('1@clientIP:clientPORT;d=1') where clientIP is client IP or hostname where you run PhpED (localhost in case of ssh tunnel or in case of local debug). clientPORT is dbglistener's port, by default it is 7869. Alternatively, you can run your script with DBGSESSID=1@clientIP:clientPORT;d=1 command line argument. |
||||||||||||
_________________ The PHP IDE team |
Steps to setup window CLI debug enviornment? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by