Maybe you are after something like WP PHP Console.
Another good plugin would be the Simple Error Handler, while it should be regarded it is compatible only up to 3.8.11
and you may consider forking it to be compatible to latest version of WordPress.