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

查看:22
本文介绍了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.

  • 首先,有可能吗?
  • 其次,具体的配置是什么?

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 调试.现在它在 nightly 流 (3.3.0) 上,您可以通过更新 Studio 获取最新版本.安装说明位于 http://preview.appcelerator.com/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天全站免登陆