# ali2woo-lite/trunk/includes/classes/controller/DebugPageController.php

AliNext – WooCommerce Dropshipping Plugin for AliExpress, version trunk. 37 lines.

- Page: https://pluginprobe.com/plugins/ali2woo-lite/trunk/code/includes/classes/controller/DebugPageController.php
- Raw: https://pluginprobe.com/plugins/ali2woo-lite/trunk/raw/includes/classes/controller/DebugPageController.php
- Modified: 2026-07-13T18:29:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ali2woo-lite/trunk/code/includes/classes/controller/DebugPageController.php#L10-L20`.

```php
<?php

/**
 * Description of DebugPageController
 *
 * @author Ali2Woo Team
 *
 * @autoload: a2wl_before_admin_menu
 */

namespace AliNext_Lite;;

use Pages;

class DebugPageController extends AbstractAdminPage
{
    public function __construct()
    {
        if (a2wl_check_defined('A2WL_DEBUG_PAGE')) {
            parent::__construct(
                Pages::getLabel(Pages::DEBUG),
                Pages::getLabel(Pages::DEBUG),
                Capability::pluginAccess(),
                Pages::DEBUG,
                1100
            );
        }
    }

    public function render($params = []): void
    {
        if (!PageGuardHelper::canAccessPage(Pages::DEBUG)) {
            wp_die($this->getErrorTextNoPermissions());
        }
    }
}

```
