如何讓 xdebug var_dump 顯示完整的對象/數組 - How to get xdebug var_dump to show full object/array

問題:

I am using xdebug (php_xdebug-2.1.2-5.3-vc9.dll) on WAMP .我在WAMP上使用xdebug (php_xdebug-2.1.2-5.3-vc9.dll)。 When I use var_dump on a large object or variable it does not show the full variable.當我在大對象或變量上使用var_dump ,它不會顯示完整變量。

array
'node' => 
  array
    'my_form' => 
      array
        'form' => 
          array
            ...

Without xdebug it shows as should be expected.如果沒有 xdebug,它會按預期顯示。 I looked at the documentation but did not see a solution.我查看了文檔,但沒有看到解決方案。 Does anyone know how I can fix this so xdebug var_dump shows the full object?有誰知道我如何解決這個問題,以便 xdebug var_dump顯示完整的對象?


解決方案:

參考一: https://stackoom.com/question/fx3y
參考二: How to get xdebug var_dump to show full object/array
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章