在 idea 中用 openshift 的 php 5.4 with zend server 6.1 , settings 中 build,execution,deployment->clouds 处已添加 openshift 账号,添加 ssh public key 成功, idea 中用 check out from version control 的 git 那 clone 成功,我在 run 里的 edit configurations 里添加了 openshift deployment ,添加了 server 、 deployment , debug port 不知道填啥,现在能够编辑,能够 commit ,能够 run ,直接打开网址,都成功
phpinfo 中显示是安装了 zend debugger 的
我想要在 idea 中远程 debug , run 里选择了 start listening for php debug connections ,勾了 break at first line in php script , edit configurations 的 debug port 填的 10137 ,然后点击 debug ,部署成功,但是有这个 cannot retrieve debug connection: debug port forwarding not found ,调试端口转发未找到,打开 putty 开转发 r10137 localhost:10137 ,测试是 cannot retrieve debug connection: com.openshift.client.openshiftsshoperationexception: failed to list forwardable ports for application "codeigniter"
谷歌里找到了 jboss 的方法,但是和 php 5.4 with zend server 6.1 完全不同, idea 官方没有这方面资料, openshift 官方也没有这方面资料
用eclipse好一些
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号