---
title: "Breaking: #82640 - Re-arranging global debug functions"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-82640"
source: "Changelog/9.0/Breaking-82640-Re-arrangingGlobalDebugFunctions.rst"
typo3-version: "9.0"
typo3-major: 9
type: "breaking"
issue: 82640
forge: "https://forge.typo3.org/issues/82640"
tags: ["PHP-API", "FullyScanned"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Breaking: #82640 - Re-arranging global debug functions {#breaking-82640}

See [forge#82640](https://forge.typo3.org/issues/82640)

## Description {#description}

The global function `xdebug()` has been dropped in favor of using `debug()`.

The global function `debug()` now only takes a maximum of three function arguments.

## Impact {#impact}

Calling `xdebug()` globally will throw in a PHP fatal error.

## Affected Installations {#affected-installations}

Any TYPO3 installation in a development environment using the global functions in an old-fashioned way.

## Migration {#migration}

Instead of `xdebug()` simply use `debug()` as an alias. Ensure that when calling `debug()` that a
maximum of three arguments are handed over to the function.
