Skip to content

Commit aff4226

Browse files
Fixed PsySH initialization
Note that Psy\Shell::debug() should be used to introduce breakpoints.
1 parent ff17413 commit aff4226

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Shell_Command.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ public function __invoke( $_, $assoc_args ) {
4545
}
4646

4747
if ( 'Psy\\Shell' === $class ) {
48-
Psy\Shell::debug();
48+
$shell = new Psy\Shell();
49+
$shell->run();
4950
} else {
5051
$repl = new $class( 'wp> ' );
5152
$repl->start();

0 commit comments

Comments
 (0)