0

I'm wondering if its possible to debug using XDebug working on an RPC-Application (based on the RPC-Client-Server-Model)?

I tried setting a breakpoint on the Server-Side code but its not debugging.


I can verify

  • that the Browser's Cookie is set correctly
  • that X-Debug is working on my IDE (use it on other Application that are not based on RPC)

I am just wondering if i face any Error i dont see or if its just impossible.

4

1 回答 1

1

你想调试你的客户端应用程序和单独的 RPC 服务器吗?Cookie 仅适用于与您的客户端(RPC 消费者)应用程序的调试会话。

我认为,RPC 应用程序必须为 xdebug 单独配置。

例如。在 RPC vhost 的 VirtualHost 部分

php_value xdebug.remote_enable    1
php_value xdebug.remote_connect_back    on
php_value xdebug.remote_autostart    on 
php_value xdebug.remote_enable    on
php_value xdebug.auto_trace    on
于 2013-10-11T13:10:02.447 回答