简体   繁体   English

PHP | MAC | Netbeans IDE | 远程服务器和DropBox上的xDebug

[英]PHP | MAC | Netbeans IDE | xDebug on Remote Server & DropBox

If the above keywords are all familiar to you, then you can probably guess what I'm trying to do. 如果上述关键字都是您熟悉的,那么您可能可以猜到我正在尝试做什么。

The question is if it is possible to do xDebugging a PHP page residing on a remote ( goDaddy ) server, using MAC a version of NetBeans where the local copy of the PHP file is kept in dropbox. 问题是,是否有可能使用MAC版本的NetBeans对驻留在远程(goDaddy)服务器上的PHP页面进行xDebug调试,该版本的PHP文件的本地副本保存在保管箱中。

So that... 以便...

When you goto another MAC (that has the same setup), you can open up the dropbox and check out the most up-to-date php file that you worked on knowing that it must be synced to the remote server. 当您转到另一个具有相同设置的MAC(具有相同的设置)时,可以知道必须将其同步到远程服务器,从而打开保管箱并签出您工作的最新php文件。 ( here, I won't be editing the dropbox file, I'd be just viewing - cause I will exclusively be working on the remote server directly and here netbeans would be saving a local copy for only backup purposes, therefore there is no point for me to work on the local ( dropbox ) copy. ) (在这里,我不会编辑Dropbox文件,我只是在查看-因为我将专门在远程服务器上直接工作,因此netbeans将仅出于备份目的保存本地副本,因此没有意义。让我来处理本地(dropbox)副本。)

If this set-up is not logical, you may suggest similar but alternative set-ups. 如果此设置不合逻辑,则您可以建议类似但替代的设置。 I think the dropbox component here is the one that complicates things. 我认为这里的保管箱组件是使事情复杂化的组件。 But I'm not sure if the idea is good to even begin with. 但是我不确定这个主意是否很好。 Some discussion would prove useful. 一些讨论将被证明是有用的。

Yes, that should be possible - but seems somehow senseless to me. 是的,这应该可行-但对我来说似乎毫无意义。 You should go and setup a VCS like Subversion or - preferably - git, to achive a central code management. 您应该设置Subversion之类的VCS或-最好是-git,以实现中央代码管理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM