這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Apermo Xdebug

外掛說明

This plugin helps you to read Xdebug messages inside the WordPress backend, without the need to adjust them everytime.
It simply indents the Xdebug messages, so that these are no longer partly hidden underneath the admin menu.
And it will also give you links to directly search for the error message on Google or Stackoverflow.

If you have issues or want to help head over to GitHub!

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/apermo-xdebug directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the ‘Apermo AdminBar’ plugin through the ‘Plugins’ menu in WordPress
  3. That’s all folks.

常見問題集

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/apermo-xdebug directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the ‘Apermo AdminBar’ plugin through the ‘Plugins’ menu in WordPress
  3. That’s all folks.
Are there any requirements?

Yes, of course, you need to have Xdebug active on your webserver.

Where are the Plugin Options?

This plugin does not have any, so just activate it, and relax.

Can I change or add more search engines?

Sure, use the filter apermo_xdebug_search_urls and alter the array.
The URL requires to add ‘+search_url+’ since this will be added to the JavaScript of the plugin.
This is raw Javascript added here, it’s not ideal, but I think more flexible in case you need to do something more with the search_url string.

Should I use this on a production website?

Since you should not use ‘display_errors’ on a production system, it makes no sense using this plugin there.
The plugin automatically skips it’s execution if display_errors is turned off or Xdebug is not active.
At the current moment I decided against automatically disabling the plugin in this cases, I might reconsider this in the future.

I have an issue, or I want to help with the development of this plugin.

Head over to the GitHub Repository and start reading. Every bit of help is highly appreciated!

Note on the Version Requirement

The Plugin will actually work with lower WordPress Versions, but in that case translations won’t work. But you should consider upgrading you WordPress in that case.

使用者評論

2018 年 11 月 22 日
God, that is so annyoing when xdebug is not visible in wp-admin. Thank you for this!
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Apermo Xdebug〉的開發相關工作。

參與者

將〈Apermo Xdebug〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.2

  • Bugfix: automatically removed css tag if there was only var_dump and no error

1.2.1

  • added support for Xdebug var_dump messages

1.2.0

  • added a filter to provide the options to add more search engines
  • automatically disable(or rather skip execution) if display_errors is turned off

1.1.0

  • optimized to work inside the Gutenberg view
  • automatically disable in case Xdebug is not installed
  • automatically remove all CSS if no errors are thrown

1.0.1

  • Added the Google and Stackoverflow links

1.0.0

  • Initial Release