简体   繁体   English

调试Drupal 6

[英]Debugging Drupal 6

OK, I've read and attempted all of the tutorials I can find on being able to debug a locally installed Drupal 6 instance. 好的,我已经阅读并尝试了所有可以调试本地安装的Drupal 6实例的教程。

I'm on Windows, 32-bit. 我在32位Windows上。 I have access to Eclipse (obviously) as well as Visual Studio 2005/2008. 我可以访问Eclipse(显然)以及Visual Studio 2005/2008。

I've yet to be able to get any of the Eclipse options (XDebug, Zend, etc.) working to be able to step through code, inspect variables, etc. 我尚未能够使用任何Eclipse选项(XDebug,Zend等)来逐步执行代码,检查变量等。

I've heard good things about VS.PHP, but haven't committed to the $100 or whatever it is. 我听说过有关VS.PHP的好消息,但尚未承诺100美元或它的价格。

Can some of your PHP/Drupal gurus out there tell me the best, simplest, most reliable way to debug Drupal and PHP on the Windows platform? 您的一些PHP / Drupal专家可以告诉我在Windows平台上调试Drupal和PHP的最佳,最简单,最可靠的方法吗?

  1. Use Drupal with devel module, and print to screen unobstructively using kpr(), etc. 将Drupal与devel模块一起使用,并使用kpr()等将其打印到屏幕上。
  2. Install Drupal for Firebug module (it din't work for me however) 安装Drupal for Firebug模块(但是对我来说不起作用)
  3. Use Drupal+FirePHP (in Devel)+FirePHP (in Firebug) Firefox Addon 使用Drupal + FirePHP(在Devel中)+ FirePHP(在Firebug中)Firefox插件

More details here: http://ratatosk.backpackit.com/pub/1836982-debugging-drupal 此处有更多详细信息: http : //ratatosk.backpackit.com/pub/1836982-debugging-drupal

通过以下教程,您可以获得调试的最佳解决方案。 在Vista / Eclipse PDT环境中设置本地Drupal多站点,进行调试

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

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