2017 © Pedro Peláez
 

library debug

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display.

image

flextype-components/debug

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display.

  • Monday, April 30, 2018
  • by Awilum
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Debug Component

versionMIT License, (*1)

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display., (*2)

Installation

composer require flextype-components/debug

Usage

use Flextype\Component\Debug\Debug;

Save current time for current point, (*3)

Debug::elapsedTimeSetPoint('point_name');

Get elapsed time for current point, (*4)

echo Debug::elapsedTime('point_name');

Save current memory for current point php Debug::memoryUsageSetPoint('point_name');, (*5)

Get memory usage for current point, (*6)

echo Debug::memoryUsage('point_name');

Print the variable $data and exit if exit = true, (*7)

Debug::dump($data);

License

See LICENSE, (*8)

The Versions

30/04 2018

dev-master

9999999-dev https://github.com/flextype-components/debug

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display.

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

debug

12/04 2018

v1.0.0

1.0.0.0 https://github.com/flextype-components/debug

Debug component provides a simple methods for debugging variables, objects, arrays, etc by outputting information to the display.

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

debug