0.3.0 2014-11-09 13:33 UTC

README

Travis CI Build Status Code Climate Test Coverage

Pry is an inline debugging tool for PHP. Just put require PRY; in your code before running it in the CLI.

Install via Composer

Add the requirement to your composer.json:

require-dev: {
    "mlessnau/pry": "0.*"
}

And run composer install.

Usage

Given that you run your PHP code in the CLI or the integrated PHP webserver, put require PRY; at the location in your PHP script where you want to start an interactive debug session. The next time the code is executed, the execution will be interrupted and you get an interactive shell at the desired location and you can look around and manipulate the code in the scope.