Debugging a Project Locally Using PHPEclipse and XDebug

Ian MacLennan


Table of Contents

Introduction
Creating a Simple Script
Setting up the Debugger
Specifying the PHP Interpreter Path
Creating the Debug Configuration
Adding a Breakpoint
Watching our Script Run
Conclusion

Introduction

This tutorial assumes that you already know the basics of creating projects and PHP files using PHP Eclipse. It also assumes that you have a functional web server that has the XDebug module installed.