이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Debug Tool

설명

This is tool that help developers and administrators easier getting information.

The debug bar is available on front side for everyone if WP_DEBUG is true. If you are admin you can open bar on any page. Hover the mouse cursor to bottom right corner and click on

Features:

  • Implementation time counter
  • Queries counter
  • Queries list (sortable)
  • Memory counter
  • Segment checker
  • Cron jobs information
  • WP_Cache counter
  • phpinfo() window
  • References menu
  • Image Puller that provide pull missed images from production to develop site

Implementation time counter

It count the time from plugin loaded action to debug bar.
It does not consider processes that implement before and during the plugins are loading.

Queries counter

It count all what is queried via $wpdb object.

Queries list

It show all what is queried via $wpdb object.

The SAVEQUERIES constant must be defined as true.

Memory counter

Returns the amount of memory, in bytes, that’s currently being allocated to your PHP script.

Segment checker

Also you can check any segment of your code.

do_action('check_segment', 'segment_1');

//do somethisng

do_action('check_segment', 'segment_1');

The code below returns in debug bar new item like this:

segment_1: 14.14/3/1

The digits there ara time, queries and how many times this code was implemented.

References menu

The default one item of this menu is Errors. It shows notices and warnings including case when WP_DEBUG is false.

And also you can easy add your item to this menu and print there any var_dump or anything else.

add_filter('wp_debug_refs', 'my_debug_tool_ref');

function my_debug_tool_ref ($refs) {

    global $post;

    $refs['my_ref_id'] = array(
        'title' => 'My ref',
        'content' => '<b>My ref</b>' . var_export($post, true),
    );
    return $refs;
}

스크린샷

  • Page with debug bar
  • Error modal
  • Queries modal
  • Howto open and close bar

설치

Debug Tool is easy to install and configure.

  1. Upload the easyazon directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set WP_DEBUG constant if you want to see the bar at front side when you are logged out.

FAQ

Installation Instructions

Debug Tool is easy to install and configure.

  1. Upload the easyazon directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set WP_DEBUG constant if you want to see the bar at front side when you are logged out.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Debug Tool”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Debug Tool”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.2

Release Date – 30th May, 2018

  • Change visibility logic. Hide by default
  • Add new tool Image Puller that provide pull missed images from production to develop site.

2.1

Release Date – 23th May, 2018

  • Remove hotkey combination
  • Add hidden button for open/close bar
  • Use coockies to save bar visible status
  • Add feature to define WP_DEBUG as true via cookie
  • Add settings to switch features on/off

2.0

Release Date – 18th April, 2018

  • Add page stat feature
  • Set new key combination to Ctrl+Alt+D
  • Add Cron & Actions panel
  • Fix bug with Queries list

1.2

Release Date – 18th March, 2017

  • Add sorting to queries table

1.1

Release Date – 1st March, 2017

  • Add queries reference tab

1.0

Release Date – 15th February, 2017

  • Initial release