src/Dev/Debug.php
public static function endshow($val, $showHeader = true, HTTPRequest $request = null)
    {
        // Don't show on live
        if (Director::isLive()) {
            return;
        }

        echo static::create_debug_view($request)
            ->debugVariable($val, static::caller(), $showHeader);

        die();
    }
public static function endshow($val, $showHeader = true, HTTPRequest $request = null)
    {
        // Don't show on live
        if (Director::isLive()) {
            return;
        }

        echo static::create_debug_view($request)
            ->debugVariable($val, static::caller(), $showHeader);

        die();
    }
public static function endshow ( $ val , $ showHeader = true , HTTPRequest $ request = null ) { // Don't show on live if ( Director :: isLive ( ) ) { return ; } echo static :: create_debug_view ( $ request ) -> debugVariable ( $ val , static :: caller ( ) , $ showHeader ) ; die ( ) ; }
Close out the show dumper.
Does not work on live mode

@param mixed $val
@param bool $showHeader
@param HTTPRequest $request
Close out the show dumper . Does not work on live mode