# Debug PHP Script

To simplify debugging of these php script, the command has been added:

```
xdebug-enable 192.168.0.12
```

For debugging php scripts of the web interface:&#x20;

```
xdebug-enable-www 192.168.0.12
```

* **192.168.0.12** - IP address of the PC from which debugging is performed. PHP Storm should be running on the PC
* Additionally, the **Toggle Xdebug** extension should be installed in the web browser
