Aptana 3.0.4和PHP调试 [英] Aptana 3.0.4 and PHP Debugging

查看:128
本文介绍了Aptana 3.0.4和PHP调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Aptana 3.0.4中调试PHP代码,但是没有成功。

I have tried to debug PHP code in Aptana 3.0.4, however without success.


  • 首先,这是可能的吗? li>
  • 第二,具体的配置是什么?

PS:我正在使用Symfony 1.4,调试PHP代码。

P.S.: I am using Symfony 1.4 and I want to debug the PHP code.

推荐答案

Aptana Studio 3简单的香草版本是不可能的,但很快就可以实现。

It's not possible yet on a plain vanilla version of Aptana Studio 3, but it will be possible soon (I hope).

如果要调试PHP,只有Aptana的编辑器支持,您将需要在其上安装PDT,并使用其调试器功能。但是,请记住,您将有两个不同的插件来支持PHP,因此您必须确保您创建的项目支持一个或另一个。也就是说,如果要使用Aptana,请使用Aptana PHP项目向导创建一个项目,如果要使用PDT编辑器 - 使用PDT项目向导创建项目。这将阻止主要的索引和代码辅助头痛。

If you want to debug PHP, and only have the Aptana's editors support, you will need to install PDT on top of it and use its debugger capabilities for now. However, keep in mind that you will have two different plug-ins that will support PHP, so you have to make sure that the projects you create support one or the other. That is, if you would like to use Aptana, create a project using the Aptana PHP project wizard, and if you want to use the PDT editors - create the project using the PDT project wizard. That will prevent a major 'indexing' and 'code assist' headache.

关于断点 - 这些可能需要在PDT PHP编辑器上设置(您可以定义通过首选项 - 内容类型和文件关联来接管PHP扩展的编辑器。否则,PDT可能会在开始调试时忽略它们。

As for the breakpoints - Those will probably need to be set on the PDT PHP editors (you can define the editor that takes over the PHP extensions through the preferences - Content Types and 'File Associations'). Otherwise, the PDT might ignore those when starting to debug.

我知道现在有点凌乱,但会更好。

I know that's a little messy right now, but it will get better.

希望有帮助。

[更新6/25/2012]

Aptana Studio现在支持PHP调试。现在,它是在每晚流(3.3.0),您可以通过更新Studio获取最新的。安装说明在 http://preview.appcelerator.com/studio (Studio标签),它应该今天晚上(6/26/2012)。

Aptana Studio now supports PHP debugging. Right now it's on the nightly stream (3.3.0), and you can grab it by updating the Studio for the latest. Installation instructions are at http://preview.appcelerator.com/studio (Studio Tab), and it should be available tonight (6/26/2012).

这篇关于Aptana 3.0.4和PHP调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆