martomo/SublimeTextXdebug

break_on_exception: false not working

Closed this issue · 1 comments

So I currently have the following settings in my sublime text 3 user settings:

{
    "settings": {
	"xdebug":
	{
		"break_on_exception": false,
		"url": "<url>",
		"host": "172.28.128.1",
		"port": 9000,
		"path_mapping": {
			"/var/www/website/html": "/Users/171599/Documents/php_projects/vmdisks/webvm/website/html",
			"/var/www/website/inc": "/Users/171599/Documents/php_projects/vmdisks/webvm/website/inc",
		},
		
	},	
    },
}

currently, xdebug stops on all notices, warnings, etc. without stopping at my breakpoint. I have break_on_exception set to false but it seems to be ignoring it. Any help that you can give me would be greatly appreciated!

Edit: I am currently on Mac OS Mojave using Sublime Text 3.

@annethereshewent This should be an array value, currently false is not a valid/supported value.
In case you want to disable breaking on exceptions, you should specify an empty array:

"break_on_exception": [],