debugging - How to debug PHP in Notepad++ with DBGp plugin -
i using chrome , mozilla. editor notepad++. try setup debugger php. have followed this link , this link
i found answers. steps are
downloaded `php_xdebug-2.3.2-5.6-vc11-x86_64.dll` , placed inside `php\ext`. added following lines in `php.ini` zend_extension=php_xdebug-2.3.2-5.5-vc11-x86_64.dll xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.remote_mode=req xdebug.idekey=default xdebug.remote_log="c:\temp\xdebug\xdebug.log" xdebug.show_exception_trace=0 xdebug.show_local_vars=9 xdebug.show_mem_delta=0 xdebug.trace_format=0 xdebug.profiler_enable = 1 xdebug.profiler_output_dir ="c:\temp\xdebug"
created xdebug
folder in temp
. system windows 64 bit. php version 5.6.2. [restarted apache - no error]
then downloaded dbgp plugin , placed dll file inside plugins directory of notepad++; [restarted npp] plugins->dbgp -> config 127.0.0.1 empty htdocspath htdocs path
htdocs path c:\users\me\server\apache24\htdocs
set breakpoints , started page paramaeter ?xdebug_session_start=debugme
but doesn't stop @ break points.
how solve or ultimate aim debug step step php. other options.
i not sure of notepad, have tried on netbeans , works ok.
tip: tried use debugger netbeans in real projects sincerely better step step.
i use firebugphp in console option best me because not disturb view
following links maybe you:
https://netbeans.org/kb/docs/php/debugging.html
Comments
Post a Comment