Remote Debug, the 273th


#1

Windows/Komodo/Dir with all files
Linux/Xdebug/web with the same files; reachable by ssh, ftp, http

I start debug with ?XDEBUG_SESSION_START=1
When i catch the first line it stops.
When i “run to the first breakpoint it doesnt stop”

I tried to match

domain.com => ///file:192.168 …
domain.com => //ftp:192.168
file local => ///file:192
file local => //ftp:192
also file:192 => local
ftp => local

I tried every combination here, while i just dont know what should be matched
The url from browser to local files, to remote files, to ftp:remote or local files to remote files or local files to remote ftp

The xdebug sends, komodo listens, but it doesnt stop at the breakpoints.
I tried breakpoints in local files, also in remore files.

I tried really less and more and almost all here:

zend_extension=/usr/lib/php/20170718/xdebug.so
;xdebug.auto_trace=1
;xdebug.collect_assignments=1
;xdebug.dump.GET=1
;xdebug.dump.POST=1
;xdebug.dump.REQUEST=1
;xdebug.dump.SERVER=1
;xdebug.coverage_enable 1
;xdebug.cli_color=0
;xdebug.collect_includes=1
;xdebug.collect_params=4
;xdebug.collect_return=1
;xdebug.collect_vars=0
xdebug.default_enable=1
;xdebug.extended_info=1
xdebug.idekey=“komodo”
xdebug.max_nesting_level=100
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=192.168.1.1
xdebug.remote_port=9000
;xdebug.show_local_vars=1
;xdebug.show_mem_delta=0

This one are enough i guess:
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=192.168.1.1
xdebug.remote_port=9000

Some month ago i had it running. But also with a lot of trying and restarts also. Sometimes i think komodo just dont change the rules i have changed.
The function ask me for mapping makes most times nothing for example, it doenst matter if the mapping is empty or somehow set.

Finally i have lost another half day without a result and i hate it.


#2

@anjade,

Try deleting the file mappings your have in your preferences and triggering a remote debugging session. When the dialog appears to request setting up mappings, can you send a screenshot? That should be all you need to do.

  • Carey