• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Tools for Inspecting and Debugging - WordCamp Phoenix #wcphx
 

Tools for Inspecting and Debugging - WordCamp Phoenix #wcphx

on

  • 1,460 views

Slides from my talk at WordCamp Phoenix 2013 on tools for inspecting and debugging.

Slides from my talk at WordCamp Phoenix 2013 on tools for inspecting and debugging.

Statistics

Views

Total Views
1,460
Views on SlideShare
1,389
Embed Views
71

Actions

Likes
0
Downloads
2
Comments
0

3 Embeds 71

http://c3mdigital.com 49
http://eventifier.co 21
http://zdrive 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Tools for Inspecting and Debugging - WordCamp Phoenix #wcphx Tools for Inspecting and Debugging - WordCamp Phoenix #wcphx Presentation Transcript

    • Inspecting, Development, and Testing Tools WordCamp Phoenix 2013 http://x-team.com Chris Olbekson @chris_olbeksonFriday, January 18, 13
    • Who am I? Chris Olbekson • WordPress Developer at X-Team • Core Contributor • Support Forum Moderator http://x-team.com Chris Olbekson @chris_olbeksonFriday, January 18, 13
    • What am I talking about? Tools and methods you can use for testing and debugging your code followed by interactive examples. http://x-team.com Chris Olbekson @chris_olbeksonFriday, January 18, 13
    • Built in Tools 1. WP_DEBUG define( WP_DEBUG, true) 2. SCRIPT_DEBUG define(SCRIPT_DEBUG, true) 3. SAVEQUERIES define(SAVEQUERIES, true) 4. The ALL Action Hook add_action( all, create_function( , var_dump( current_filter() ); ) http://x-team.com Chris Olbekson @chris_olbeksonFriday, January 18, 13
    • Plugins • Debug Bar • Debug Bar Console • Debug Cron • Core Control http://x-team.com Chris Olbekson @chris_olbeksonFriday, January 18, 13
    • Xdebug • Backtraces function calls and variables • Profiling • Formatting error messages • xdebug_vardump http://x-team.com Chris Olbekson @chris_olbeksonFriday, January 18, 13
    • PHP_CodeSniffer • Detects violations of a defined coding standard • Essential development tool for teams • Prevents and detects common semantic errors • WordPress specific sniffs and ruleset https://github.com/x-team/WordPress-Coding-Standards http://x-team.com Chris Olbekson @chris_olbeksonFriday, January 18, 13
    • Using an IDE • Built in function definitions and code completion • Real time debugging while you write code • Real time code sniffing with PHPCS • Built in version control • Remote debugging with Xdebug http://x-team.com Chris Olbekson @chris_olbeksonFriday, January 18, 13
    • Start of a Conversation • KCacheGrind (Visualization / Profiling) • Unit Testing • JSHint / JSLint • Load Testing What are some of your favorite tools? http://x-team.com Chris Olbekson @chris_olbeksonFriday, January 18, 13