Difference between #223 and #224 of
Yii v2 snippet guide

Revision #224 has been created by rackycz on Aug 20, 2020, 6:19:20 PM with the memo:

xdebug
« previous (#223) next (#225) »

Changes

Title unchanged

Yii v2 snippet guide

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
xdebug.remote_enable = on
xdebug.idekey = netbeans-xdebug
xdebug.remote_host = localhost
xdebug.remote_port = 9000
xdebug.remote_autostart=on
```xdebug.var_display_max_depth=5
 
```
 
 
The last row changes behaviour of var_dump() when xdebug is installed. It does not output whole arrays, but max 3 levels. Read [here](https://www.php.net/manual/es/function.var-dump.php) or [here](https://xdebug.org/docs/display).


Quotes were not important. I didnt even need to [download](https://xdebug.org/download) current version of xdebug, it was already in folder C:\xampp\php\ext.

Then you just add a breakpoint, click the debug-play button in NetBeans and refresh your browser. Netbeans will stop the code for you.
[...]
7 0
4 followers
Viewed: 254 674 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: 5 months ago
Update Article

Revisions

View all history