Update debug.lua
This commit is contained in:
parent
5a28bb7832
commit
de20bf7427
|
@ -83,6 +83,14 @@ return {
|
|||
|
||||
-- Install python specific config
|
||||
require('dap-python').setup() -- Debug with default settings.
|
||||
-- We can set the config by below mechanism as well
|
||||
table.insert(require('dap').configurations.python, {
|
||||
type = 'python',
|
||||
request = 'launch',
|
||||
name = 'My custom launch configuration',
|
||||
program = '${file}',
|
||||
cwd = '${fileDirName}'
|
||||
})
|
||||
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue