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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:49:13+00:00 2026-05-31T06:49:13+00:00

my XDEBUG environment is setup and is working in most cases. I am working

  • 0

my XDEBUG environment is setup and is working in most cases. I am working on a simple REST based web service which I can debug fine if I pass across the URI in the following format

POST http://192.168.1.121:8888/QDOSStatsLogger/statLogger.php?XDEBUG_SESSION_START=ECLIPSE_DBGP HTTP/1.1
Content-Type: application/json; charset=utf-8
Accept: application/json, text/javascript, */*
Host: 192.168.1.121:8888
Content-Length: 295
Expect: 100-continue

When I try do the exact same thing with cookies set, it fails to start the debugger

This is what goes over the wire in the cookie situation (as seen in fiddler)

POST http://192.168.1.121:8888/QDOSStatsLogger/statLogger.php HTTP/1.1
Content-Type: application/json; charset=utf-8
Accept: application/json, text/javascript, */*
Host: 192.168.1.121:8888
Cookie: XDEBUG_SESSION_START=ECLIPSE_DBGP
Content-Length: 295
Expect: 100-continue

My output from phpInfo looks like the following with respect to xdebug. Am I missing something obvious?

xdebug.auto_trace   Off Off
xdebug.cli_color    0   0
xdebug.collect_assignments  Off Off
xdebug.collect_includes On  On
xdebug.collect_params   0   0
xdebug.collect_return   Off Off
xdebug.collect_vars Off Off
xdebug.coverage_enable  On  On
xdebug.default_enable   On  On
xdebug.dump.COOKIE  no value    no value
xdebug.dump.ENV no value    no value
xdebug.dump.FILES   no value    no value
xdebug.dump.GET no value    no value
xdebug.dump.POST    no value    no value
xdebug.dump.REQUEST no value    no value
xdebug.dump.SERVER  no value    no value
xdebug.dump.SESSION no value    no value
xdebug.dump_globals On  On
xdebug.dump_once    On  On
xdebug.dump_undefined   Off Off
xdebug.extended_info    On  On
xdebug.file_link_format no value    no value
xdebug.idekey   tony    ECLIPSE_DBGP
xdebug.manual_url   http://www.php.net  http://www.php.net
xdebug.max_nesting_level    100 100
xdebug.overload_var_dump    On  On
xdebug.profiler_aggregate   Off Off
xdebug.profiler_append  Off Off
xdebug.profiler_enable  Off Off
xdebug.profiler_enable_trigger  Off Off
xdebug.profiler_output_dir  /tmp/xdebug/    /tmp/xdebug/
xdebug.profiler_output_name cachegrind.out.%p   cachegrind.out.%p
xdebug.remote_autostart Off Off
xdebug.remote_connect_back  Off Off
xdebug.remote_cookie_expire_time    3600    3600
xdebug.remote_enable    On  On
xdebug.remote_handler   dbgp    dbgp
xdebug.remote_host  localhost   localhost
xdebug.remote_log   no value    no value
xdebug.remote_mode  req req
xdebug.remote_port  9000    9000
xdebug.scream   Off Off
xdebug.show_exception_trace Off Off
xdebug.show_local_vars  Off Off
xdebug.show_mem_delta   Off Off
xdebug.trace_enable_trigger Off Off
xdebug.trace_format 0   0
xdebug.trace_options    0   0
xdebug.trace_output_dir /var/tmp/   /var/tmp/
xdebug.trace_output_name    trace.%c    trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth    3   3

Thanks in advance

  • 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-31T06:49:17+00:00Added an answer on May 31, 2026 at 6:49 am

    Documentation states:

    When the URL variable XDEBUG_SESSION_START=name is appended to an URL
    Xdebug emits a cookie with the name “XDEBUG_SESSION” and as value the
    value of the XDEBUG_SESSION_START URL parameter.

    so cookie is called XDEBUG_SESSION, but your HTTP client seems to be passing cookie with another name:

    Cookie: XDEBUG_SESSION_START=ECLIPSE_DBGP

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

Sidebar

Related Questions

I have netbeans setup with xdebug so it can debug php. However, this only
How do you setup a multi-developer XDebug PHP environment? I have the following setup:
I installed Xdebug and all was fine, until suddenly it stopped working. phpinfo() gives
I've been using xdebug to debug and understand code in php projects for a
I use vim + xdebug to debug php. If the debug operation waste a
I have tried to use xDebug on my local Ubuntu environment to speed up
I would like to update my local working environment to be stricter in an
I have Xdebug 2.1 installed, and running with PHP 5.2.13. It can successfully connect
I switched from Zend Debugger to XDebug, while I got XDebug to work fine,
I went to the xdebug site, but I can't find a mac download. http://www.xdebug.org/download.php

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.