duanpuchen3142 2016-03-25 08:12
浏览 96
已采纳

需要PHP7 netbeans 8.1调试器支持,如何使其工作?

I use Netbeans 8.1 for developing in PHP, lately I installed PHP7 and xDebug doesn't works anymore. I love working with Netbeans and I need to work with PHP 7.

Is there any way to configure Netbeans and Apache to support debugging? (I installed XAMPP with PHP 7)

I looked into those sited but with no luck: https://netbeans.org/kb/docs/php/debugging.html http://wiki.netbeans.org/HowToConfigureXDebug

As I understand PHP7 doesn't support xdebug but if you somehow managed to make it work please share with me.

  • 写回答

3条回答 默认 最新

  • duanqin2026 2016-10-31 14:51
    关注

    to download xdeubg for php7, select a version matched your php version. https://xdebug.org/download.php

    my setting as following:

    zend_extension = "c:/xampp/php/ext/php_xdebug.dll"
    xdebug.idekey = netbeans-xdebug
    xdebug.profiler_append = 0
    xdebug.profiler_enable = 0
    xdebug.profiler_enable_trigger = 0
    xdebug.profiler_output_dir = "c:/xampp/tmp/xdebug"
    xdebug.profiler_output_name = "cachegrind.out.%t-%s"
    xdebug.remote_enable = 1
    xdebug.remote_autostart = 0
    xdebug.remote_connect_back = 0
    xdebug.remote_host = "127.0.0.1"
    xdebug.remote_port = 9000
    xdebug.remote_handler = "dbgp"
    xdebug.remote_mode = req
    xdebug.remote_log = "c:/xampp/tmp/xdebug/xdebug_remot.log"
    xdebug.show_local_vars = 9
    xdebug.trace_output_dir = "c:/xampp/tmp"
    xdebug.max_nesting_level=1100
    

    xdebug work well for me. good luck

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥88 用uniapp写一个多端的程序,用到高德地图,用高德的JSAPI吗?
  • ¥20 关于#c++#的问题:水果店管理系统
  • ¥30 dbLinq最新版linq sqlite
  • ¥20 对D盘进行分盘之前没有将visual studio2022卸载掉,现在该如何下载回来
  • ¥15 完成虚拟机环境配置,还有安装kettle
  • ¥15 2024年全国大学生数据分析大赛A题:直播带货与电商产品的大数据分析 问题5. 请设计一份优惠券的投放策略,需要考虑优惠券的数量、优惠券的金额、投放时间段和投放商品种类等因素。求具体的python代码
  • ¥15 有人会搭建生鲜配送自营+平台的管理系统吗
  • ¥15 用matlab写代码
  • ¥30 motoradmin系统的多对多配置
  • ¥15 求组态王串口自定义通信配置方法或代码?