Commit f7e206b
committed
Fix xdebug truthiness bug: preserve falsy value when disabled
When xdebug is disabled (xdebug: false), options.xdebug should remain
falsy (false) for backward compatibility. Previously, it was being set
to the string 'off' which is truthy in JavaScript, breaking any
downstream code that checks if (options.xdebug) to determine if
xdebug is enabled.
The fix ensures options.xdebug stays false when mode is 'off',
while still setting it to the mode string value when enabled.1 parent 7d543ee commit f7e206b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
0 commit comments