1

I recently started with php and I have a script that works with a database. This script is triggered from an iOS app.

I can monitor the iOS apps behavior, but I am not sure how to monitor execution of the php script. Is there some test environment I could setup or another tool that is used for this?

I want to set breakpoints in the php script so I can see how it reacts to the requests from the iOS application.

EDIT: How are people testing php otherwise? Does the script get refactored after testing to allow actual usage on a server? I guess I am after some kind of tool that attaches to a script that is live on a server.

4

1 回答 1

0

我使用 NuSphere 的 phpEd,但您必须从编辑器/调试器执行脚本。如果您想要对脚本发出的所有请求,则需要在脚本的各个点添加代码以写入日志文件。(如果有人听说过除此之外的东西,我很想知道!)

于 2012-04-28T14:11:15.663 回答