It turns out that Xdebug will only connect if I run it on my index.php file.
I started with a plain index.html
file and a getData.php
file. Running the debugger on getData.php
did not work until i added an index php page and ran the debugger on that. From that point on (with the debugger running) I could set breakpoints on all other php files and get the expected behavior.