Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Test Debug Error? (CI-PHP-Unit w/ Xdebug)

enter image description here

Getting this error when I try to xdebug anything in VS Code.

I think the error is occurring due to somewhere in kenjis/ci-phpunit-test and VS not being able to find the necessary method/file ?

Any ideas?

I've already tried via php.ini and setting xdebug.show_exception_trace = 0 and no luck.

Perhaps there is a certain way to set this up in VS Code?

Any help is appreciated.

like image 609
A. Doe Avatar asked Apr 24 '26 13:04

A. Doe


1 Answers

It's because you've got 'everything' ticked in vscode's breakpoints settings, so it's breaking on exceptions even if they're caught.

like image 72
Jonathan Avatar answered Apr 29 '26 00:04

Jonathan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!