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 8767759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:53:56+00:00 2026-06-13T16:53:56+00:00

My scenario: My local machine is running PHP with Xdebug, along with my IDE.

  • 0

My scenario:

My local machine is running PHP with Xdebug, along with my IDE. It is accessible from the internet on port 80 and 443.

A remote API is calling the URL I give it.

I want to give the remote API the address of http://myaddr/callback.php?XDEBUG_SESSION=foo and have my local IDE debug this request.

There doesn’t seem to be a need to have both the caller and the debug server be the same, but how do I configure this in Xdebug?

Current settings

[xdebug]
xdebug.remote_enable=On
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.idekey=foo
  • 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-06-13T16:53:57+00:00Added an answer on June 13, 2026 at 4:53 pm

    I found my mistake:

    I needed to start the session with XDEBUG_SESSION_START so I have to give the API http://myaddr/callback.php?XDEBUG_SESSION_START=foo

    XDEBUG_SESSION is for when the session is already started.

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

Sidebar

Related Questions

This is the scenario: I have a service (#1) running as LOCAL SYSTEM, and
I'm setting up a client/server test scenario on my local machine - I have
I've this scenario, a Debian box running with multiple network cards: eth0 - Internet
Is it possible to upload a file from a local machine to the same
Scenario : I'll try to put an analogy with the loan broker example from
Here's my scenario. I've got SharePoint 2010 running on one server, with an SQL
Let's imagine this scenario Running Dropbox in my Windows Work PC, my Windows Home
So the scenario is this: I have a mySQL database on a local server
Scenario: Production servers are running SQL Server 2008 in the domain myDomain.com Dev/test/stage servers
I have a Windows Service (running as the Local System user) that needs to

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.