Eclipse xdebug会话永远不会完成并保持48%

时间:2016-10-30 14:28:52

标签: php eclipse xdebug

当我试图调试文件时,它持有48%并且comuniacate写道:等待Xdebug会话...... 我试图让xdebug使用Eclipse Neon.1a / php(在xampp windows 7上)。我已验证xdebug已在metropolisAlgorithm <- function(n, p, T){ # implementation of the algorithm # @n,p binomial parameters # @T number of time steps X <- rep(0,T) X[1] <- sample(1:n,1) for (t in 2:T) { Y <- sample(1:n,1) alpha <- dbinom(Y,n,p)/dbinom(X[t-1],n,p) if (runif(1) < alpha){ X[t] <- Y }else{ X[t] <- X[t - 1]} } return(X) } # calling M-H algorithm and plotting result test <- metropolisAlgorithm(40,0.5,5000) par(mfrow=c(2,1)) plot(test, type = "l") hist(test) breaks = 40) 中启用phpinfo();。 我已经安装了带有https://xdebug.org/wizard.php提示的xdebug。 我的remote_debug=On文件:

php.ini

我尝试使用[xdebug] zend_extension=/path/to/xdebug.so(.dll) xdebug.remote_enable=On xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_port=9001 xdebug.remote_host=localhost xdebug.remote_log=/path/to/xdebug_remote_log xdebug.remote_connect_back=1 ,但问题并没有消亡。 在remote_port=9000我也赞扬: php.ini 我试图征服一行zend_extension或另一行。 我在eclipse xdebug设置中有很好的设置。 这是我在论坛上的第一篇文章请宽容:)

1 个答案:

答案 0 :(得分:-1)

你需要查看xdebug_remote_log,我遇到了同样的问题。 I:连接到已配置的地址/端口:127.0.0.1:19006。 E:超时连接到客户端。 :-( 这是xdebug打印的错误。

相关问题