简体   繁体   English

当我的服务器在VM上时使用IDE

[英]Use of an IDE when my server is on a VM

I mostly develop in PHP, but I'm using Python and Ruby more and more. 我主要使用PHP开发,但是越来越多地使用Python和Ruby。 I edit the code in my OS (I'm on a Mac, so OS X Snow Leopard), but my server is on a VM (VM Fusion). 我在OS中编辑代码(我在Mac上,所以在OS X Snow Leopard上),但是我的服务器在VM(VM Fusion)上。

I use the IDEs mostly for their syntax checking - something TextMate, Espresso, et al, are not so good at. 我主要使用IDE进行语法检查-TextMate,Espresso等并不擅长。 However, I can see that all these IDEs have vastly more power than syntax checking, but I'm not using it because the server is a VM. 但是,我可以看到所有这些IDE都比语法检查功能强大得多,但是由于服务器是VM,所以我没有使用它。

For example, being able to set breakpoints and step through code. 例如,能够设置断点并逐步执行代码。 I've used these features with JavaScript, so I know how useful they are, but I can't use them because my server is on a VM instead of running natively inside the same OS as the IDE. 我已经将这些功能与JavaScript一起使用,因此我知道它们的用处,但我无法使用它们,因为我的服务器位于VM上,而不是在与IDE相同的操作系统中本地运行。

Is there a way of taking advantage of all these powerful features, without either developing inside the VM or running the server in Mac OS X? 是否可以利用所有这些强大的功能,而无需在VM内部进行开发或在Mac OS X中运行服务器?

I don't know what sort of server you have that couldn't be run natively in Mac OS X for development -- pretty much anything would work great. 我不知道您拥有哪种服务器无法在Mac OS X上本地运行以进行开发-几乎任何东西都可以正常工作。 Alternatively, you can run the IDE in the VM along with the server -- desktop apps work just fine in VMWare too. 另外,您也可以在VM中与服务器一起运行IDE-桌面应用程序也可以在VMWare中正常工作。 So you have two excellent alternatives facing you -- do whichever one is easier! 因此,您有两种出色的选择面对您-尽其所能!

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

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