require('flutter-tools').setup { debugger = { -- integrate with nvim dap + install dart code debugger enabled = true, run_via_dap = true, exception_breakpoints = {}, register_configurations = function(paths) require("dap").configurations.dart = { { type = "dart", request = "launch", name = "Launch Flutter Program", program = "./lib/main.dart", cwd = "${workspaceFolder}", } } end, }, lsp = { settings = { analysisExcludedFolders = {}, }, }, }