~/talk

PHP for Pirates: pillaging interactive debugging from Ruby and JavaScript

Talkat Open Source Bridge 2013 · 2013-06-18..06-21· [php]
slides:none on file

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

  1. 0:00Introduction
  2. 1:58State of the art
  3. 2:49GDB
  4. 3:00DBGP
  5. 3:19Eclipse
  6. 3:53GDBP
  7. 6:56eval
  8. 9:01readable print loop
  9. 9:39interactive shell
  10. 11:28JavaScript
  11. 11:48redevelopment loop
  12. 12:56python
  13. 13:22dictionary
  14. 14:18Ruby
  15. 15:45Pry
  16. 17:06Better options
  17. 18:58Running PHP
  18. 22:40Why does this matter
  19. 25:08Whats next
  20. 26:27Comments
  21. 31:58Shell
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.