PHP for Pirates: pillaging interactive debugging from Ruby and JavaScript
summary
PHP debugging stays mostly dump and die but there are concrete alternatives: Xdebug with dbgp and IDEs for stepping, Facebook’s phpsh, the native-for-PHP REPL Boris that forks to avoid crashes, and a working scishell/CSH that drops a REPL into a running request (like Ruby’s binding.pry) so code and variables can be inspected and mutated. scishell is alpha, plans include tab completion, dbgp client support and open sourcing so you can drop a debugger call where a dump would go.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 1:58State of the art
- 2:49GDB
- 3:00DBGP
- 3:19Eclipse
- 3:53GDBP
- 6:56eval
- 9:01readable print loop
- 9:39interactive shell
- 11:28JavaScript
- 11:48redevelopment loop
- 12:56python
- 13:22dictionary
- 14:18Ruby
- 15:45Pry
- 17:06Better options
- 18:58Running PHP
- 22:40Why does this matter
- 25:08Whats next
- 26:27Comments
- 31:58Shell








