https://bugs.kde.org/show_bug.cgi?id=387347
--- Comment #8 from Adriano Foschi <adri.fos...@gmail.com> ---
Created attachment 109113
  --> https://bugs.kde.org/attachment.cgi?id=109113&action=edit
Test environment under docker container

This attachment is the test environment for remote debugging under docker (it
is my real case too).
It contains:

- the docker config files usefull to setup a simple php+xdebug+apache
environment into docker container.
The container exposes webserver on localhost:80 and xdebug on locahost:9000.

- config/php.ini to enable remote debugging. 
There you MUST CHANGE the xdebug.remote_host parameter with your host machine
address.

- a simple index.php script with 2 lines.
You should try to debug it.

- a readme with details about the test.
You should try to debug index.php using this kdevelop that you find there.

# Browser Application launch settings:
    Server: localhost
    Port: 80

# XDebug launche settings:
    Path mappings: 
        Remote Path: /var/www/html, Local Path: /path/to/the/project/folder
    xdebug.remote_host: empty
    xdebug.remote_port: 9000



I executed the test under docker and local server, the output of kdevelop is
the same, there is no errors:

## START LOG
launching? QUrl("http://localhost:80/";)
idekey "kdev"
"feature_get -n encoding -i 1"
"stderr -c 1 -i 2"
"stdout -c 1 -i 3"
1
1
breakpoint kind 0
"breakpoint_set -i 4 -t line -f file:///index.php -n 3"
1
"run -i 5"
2
2
2
3
3
"breakpoint_list -i 6"
3
"stack_get -i 7"
"stack_get -i 8"
### END LOG


It works under docker with other IDEs. 
I suspect that there is a bug ONLY in remote debugging mode.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to