xrDebug is a lightweight web-based debug utility server.
This is the xrDebug DigitalOcean Marketplace application, it provides xrDebug ready to be used.
Package | Version | License |
---|---|---|
xrDebug | latest | Apache-2.0 |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the xrDebug 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB xrDebug Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "chevereto-xrdebug"}' \
"https://api.digitalocean.com/v2/droplets"
To keep this server secure, the UFW firewall is enabled.
All ports are BLOCKED except 27420, 22 (SSH), 80 (HTTP) and 443 (HTTPS).
In a web browser, you can view:
On the server:
xrdebug -h
kill $(lsof -t -i:27420)
ufw allow 27420/tcp
ufw disable
For help and more information, visit https://xrdebug.com