Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3235948
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:33:55+00:00 2026-05-17T17:33:55+00:00

I work on PHP code with NetBeans and Xdebug. I use Xdebug for step-by-step

  • 0

I work on PHP code with NetBeans and Xdebug. I use Xdebug for step-by-step debugging and the like.

I’m able to debug the flow of the default request, but not the flows generated by specific _get/_post or Ajax requests.

Anybody has an idea how can this be done?

When I run the debugger, a tab in my browser opened automatically with the following URL:
http://localhost/?XDEBUG_SESSION_START=netbeans-xdebug

Thanks.
Gidi

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T17:33:56+00:00Added an answer on May 17, 2026 at 5:33 pm

    Ok,

    it goes this way:

    At the projects tab (top left of the screen in my configuration), right click on the name of the project, and then properties => run configuration

    There you have to fill 3 forms:
    1. project url – the base url of the project on web, typically http://localhost
    2. index file – use the browse button and go to the local copy of index.php or whatever file serves this role for you. This form should contain the path to this file in the local filesystem , not on the web
    3. arguments – any arguments you wish to path to your script through the URL

    This should give you the ability to choose a custom URL for debugging

    A possible problem: in this process you may loose the synchronization between web addresses and the corresponding files in your system. Google “path mapping in php debugger” if you encounter issues of this nature, and take the first result (which the system wouldn’t allow me to link directly).
    However this didn’t work for me. I used server configuration to overcome this issue by redirecting URLs

    Gidi

    p.s.
    All the above doesn’t explain how to pass POST variables to your script while debugging (and I indeed don’t know how to do it)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can't use Xdebug to debug an application built with Code Igniter, but I
I have a basic ajax application, which will not work, instead the php code
I am new to PHP and trying to get the following code to work:
Why does the following code not work as I was expecting? <?php $data =
I have the same expression in Javascript but it won't work in PHP for
I just wonder how does html comment tag work with php code. If I
At work, I am working with this old legacy code modified Cake-PHP code that
In some PHP code, I have an mysql_real_escape_string()'d term, like foo\'s . I search
I do my php work on my dev box at home, where I've got
I have a fairly large PHP codebase (10k files) that I work with using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.