<?php
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
// Register the Composer autoloader...
require __DIR__.'/../vendor/autoload.php';
require __DIR__.'/../xr.php';
// Bootstrap Laravel and handle the request...
(require_once __DIR__.'/../bootstrap/app.php')
->handleRequest(Request::capture());
XRDockerfile
FROM ghcr.io/xrdebug/xrdebug:2.0.2
# Install the 'which' command if it's not already present
RUN apk add --no-cache which
# Create a dummy xdg-open script
RUN echo '#!/bin/sh' > /usr/local/bin/xdg-open && \
echo 'echo "xdg-open called with: $@"' >> /usr/local/bin/xdg-open && \
chmod +x /usr/local/bin/xdg-open
# Set the PATH to include /usr/local/bin
ENV PATH="/usr/local/bin:${PATH}"
Here are my config
docker-compose.yml
xr.php
index.php
XRDockerfile
compose.json
web.php
I am not getting debug logs on xr dashboard