Debugging PHP - selecting a request for an Xdebug session -


i work on php code netbeans , xdebug. use xdebug step-by-step debugging , like.

i'm able debug flow of default request, not flows generated specific _get/_post or ajax requests.

anybody has idea how can done?

when run debugger, tab in browser opened automatically following url: http://localhost/?xdebug_session_start=netbeans-xdebug

thanks. gidi

ok,

it goes way:

at projects tab (top left of screen in configuration), right click on name of project, , properties => run configuration

there have fill 3 forms: 1. project url - base url of project on web, typically http://localhost 2. index file - use browse button , go local copy of index.php or whatever file serves role you. form should contain path file in local filesystem , not on web 3. arguments - arguments wish path script through url

this should give ability choose custom url debugging

a possible problem: in process may loose synchronization between web addresses , corresponding files in system. google "path mapping in php debugger" if encounter issues of nature, , take first result (which system wouldn't allow me link directly). didn't work me. used server configuration overcome issue redirecting urls

gidi

p.s. above doesn't explain how pass post variables script while debugging (and indeed don't know how it)


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -