martomo / SublimeTextXdebug

Xdebug debugger client for Sublime Text
MIT License
564 stars 89 forks source link

break_on_exception: false not working #190

Closed annethereshewent closed 5 years ago

annethereshewent commented 5 years ago

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.

martomo commented 5 years ago

@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": [],