local dap = require('dap') dap.adapters.dart = { type = 'executable', command = 'flutter', args = { "debug_adapter" } } dap.configurations.dart = { { type = "dart", request = "launch", name = "Launch Flutter Program", -- The nvim-dap plugin populates this variable with the filename of the current buffer program = "${file}", -- The nvim-dap plugin populates this variable with the editor's current working directory cwd = "${workspaceFolder}", toolArgs = { "test", "-d", "linux" }, } }