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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:26:11+00:00 2026-06-01T20:26:11+00:00

I’m using XAMPP Lite for USB Drive. I also found fully functional Netbeans portable

  • 0

I’m using XAMPP Lite for USB Drive. I also found fully functional Netbeans portable version.

The problem is I can’t install XDebug because of path problem. For ex. on my local PC server PHP.ini configuration file looks like that

[zend]
zend_extension = "C:\Program Files (x86)\PHP\ext\php_xdebug.dll"
xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.profiler_enable = On 
xdebug.profiler_output_dir = C:\Windows\temp 
xdebug.dump_globals=On 
xdebug.show_exception_trace=On 
xdebug.collect_params=4 

As you see, all paths are absolute; I mean with drive letter. But I can’t write absolute paths for USB flash drive.

My questions are:

  1. Is there any way to get work xDebug with Xammp Lite on USB flash drive?
  2. Any alternative debugger which works portable?
  • 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-01T20:26:11+00:00Added an answer on June 1, 2026 at 8:26 pm

    Your best option may be to have a little batch script to automatically always assign the same drive letter when load it up in Windows. You can make this an auto-run from the USB drive itself – so that it’s entirely portable.

    Your script should look something like this:

    @echo off
    
    set NewLetter=X
    
    @REM Find the (USB) drive with the flagfile "USB.root" and change its drive letter to "%NewLetter%"
    
    @REM Abort if %NewLetter% already exist
    if exist %NewLetter%: goto END_USB_DRIVE
    
    if not exist "%SystemRoot%\System32\DISKPART.EXE" goto END_USB_DRIVE
    
    @REM Find the drive with the flag file and set %_USBroot% to the old letter
    for %%i in (c d e f g h i j k l m n o p q r s t u v w y z) do (
    if exist %%i:\USB.root set _USBroot=%%i:
    )
    @REM Abort if no Drive with the flag file has been found
    if "%_USBroot%" == "" goto END_USB_DRIVE
    
    @REM Create the script file for DiskPart.exe on the USB-drive
    echo select volume %_USBroot<> "%_USBroot%\ChangeDrvLetter.txt"
    echo assign letter=%NewLetter<>> "%_USBroot%\ChangeDrvLetter.txt"
    
    @REM Do the change -> %NewLetter%
    DISKPART /S "%_USBroot%\ChangeDrvLetter.txt"
    if exist "%NewLetter%:\ChangeDrvLetter.txt" del "%NewLetter%:\ChangeDrvLetter.txt"
    
    :END_USB_DRIVE
    

    The above example was lifted from here – and you’ll find a couple other examples there as well: http://www.techrepublic.com/forum/questions/101-220894/force-thumb-drive-or-flash-drive-to-same-drive-letter-each-time

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

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
We're building an app, our first using Rails 3, and we're having to build
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains

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.