V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
lanyu19950316
V2EX  ›  PHP

有哪位大哥在 IntelliJ idea 中用过 openshift 么,求助下怎么远程调试,谢谢

  •  
  •   lanyu19950316 · 2015-08-26 15:45:19 +08:00 · 2242 次点击
    这是一个创建于 3167 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 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 官方也没有这方面资料

    1 条回复    2016-08-15 10:49:16 +08:00
    wkl17
        1
    wkl17  
       2016-08-15 10:49:16 +08:00
    找 IntelliJ 在线激活进而找到此帖的..
    楼主 95 年的?头像想必是 1017 端口的女票了吧,哈哈..
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1009 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:59 · PVG 06:59 · LAX 15:59 · JFK 18:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.