-
-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Description
Debug adapter definition and debug configuration
I'm using dbugpy, this is my configuration
local util = require('lspconfig/util')
local python_dap = require('dap-python')
local u = require("config.utils")
local python_path = function()
-- debugpy supports launching an application with a different interpreter then the one used to launch debugpy itself.
-- The code below looks for a `venv` or `.venv` folder in the current directly and uses the python within.
-- You could adapt this - to for example use the `VIRTUAL_ENV` environment variable.
local cwd = vim.fn.getcwd()
if vim.fn.executable(cwd .. '/venv/bin/python') == 1 then
return cwd .. '/venv/bin/python'
elseif vim.fn.executable(cwd .. '/.venv/bin/python') == 1 then
return cwd .. '/.venv/bin/python'
elseif vim.env.VIRTUAL_ENV then
return util.path.join(vim.env.VIRTUAL_ENV, 'bin', 'python')
else
-- Fallback to system Python.
return vim.fn.exepath('python3') or vim.fn.exepath('python') or 'python'
end
end;
python_dap.setup('~/.pyenv/versions/neovim/bin/python')
table.insert(require('dap').configurations.python, {
type = 'python',
request = 'launch',
name = 'django',
program = '${workspaceFolder}/manage.py',
django = false,
console = 'internalConsole',
justMyCode = true,
args ={'runserver', '--noreload'},
env = {PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT="10"},
-- python = python_path()
-- ... more options, see https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings
})
Debug adapter version
1.6.6
Steps to Reproduce
- open a django project, start the debugger
- Then run
dap.run_last(), it will work as expected, terminate current one and start new debug session. - Now run the last command
dap.run_last(), it is now starting a new session without terminating current session - As result it will throw
Error: That port is already in useerror
Expected Result
Terminate current session and start new one, every time we call dap.run_last().
Actual Result
On the first run_last call it is terminating current session in line no. 213 before starting new one, on the second
run it is only requesting to start new debug session line no. 539
[ DEBUG ] 2023-02-26T11:25:18Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1253 ] "Spawning debug adapter" {
args = { "-m", "debugpy.adapter" },
command = "/home/nithin/.pyenv/versions/neovim/bin/python",
enrich_config = <function 1>,
options = {
source_filetype = "python"
},
type = "executable"
}
[ DEBUG ] 2023-02-26T11:25:18Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
adapterID = "nvim-dap",
clientId = "neovim",
clientname = "neovim",
columnsStartAt1 = true,
linesStartAt1 = true,
locale = "en_US.UTF-8",
pathFormat = "path",
supportsProgressReporting = true,
supportsRunInTerminalRequest = true,
supportsStartDebuggingRequest = true,
supportsVariableType = true
},
command = "initialize",
seq = 0,
type = "request"
}
[ DEBUG ] 2023-02-26T11:25:18Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.4"
},
output = "ptvsd"
},
event = "output",
seq = 1,
type = "event"
}
[ DEBUG ] 2023-02-26T11:25:18Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.4"
},
output = "debugpy"
},
event = "output",
seq = 2,
type = "event"
}
[ INFO ] 2023-02-26T11:25:18Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "ptvsd"
[ DEBUG ] 2023-02-26T11:25:18Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
exceptionBreakpointFilters = { {
default = false,
description = "Break whenever any exception is raised.",
filter = "raised",
label = "Raised Exceptions"
}, {
default = true,
description = "Break when the process is exiting due to unhandled exception.",
filter = "uncaught",
label = "Uncaught Exceptions"
}, {
default = false,
description = "Break when exception escapes into library code.",
filter = "userUnhandled",
label = "User Uncaught Exceptions"
} },
supportsClipboardContext = true,
supportsCompletionsRequest = true,
supportsConditionalBreakpoints = true,
supportsConfigurationDoneRequest = true,
supportsDebuggerProperties = true,
supportsDelayedStackTraceLoading = true,
supportsEvaluateForHovers = true,
supportsExceptionInfoRequest = true,
supportsExceptionOptions = true,
supportsFunctionBreakpoints = true,
supportsGotoTargetsRequest = true,
supportsHitConditionalBreakpoints = true,
supportsLogPoints = true,
supportsModulesRequest = true,
supportsSetExpression = true,
supportsSetVariable = true,
supportsStepInTargetsRequest = true,
supportsTerminateRequest = true,
supportsValueFormattingOptions = true
},
command = "initialize",
request_seq = 0,
seq = 3,
success = true,
type = "response"
}
[ INFO ] 2023-02-26T11:25:18Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "debugpy"
[ DEBUG ] 2023-02-26T11:25:18Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
args = { "runserver", "--noreload" },
console = "internalConsole",
django = false,
env = {
PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT = "10"
},
justMyCode = true,
name = "django",
program = "/home/nithin/projects/backend/nlp/manage.py",
pythonPath = "/home/nithin/.pyenv/versions/3.8.12/envs/nlp/bin/python",
request = "launch",
type = "python"
},
command = "launch",
seq = 1,
type = "request"
}
[ DEBUG ] 2023-02-26T11:25:19Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
event = "initialized",
seq = 4,
type = "event"
}
[ DEBUG ] 2023-02-26T11:25:19Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
filters = { "uncaught" }
},
command = "setExceptionBreakpoints",
seq = 2,
type = "request"
}
[ DEBUG ] 2023-02-26T11:25:19Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
command = "setExceptionBreakpoints",
request_seq = 2,
seq = 5,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:25:19Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
command = "configurationDone",
seq = 3,
type = "request"
}
[ DEBUG ] 2023-02-26T11:25:19Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
command = "configurationDone",
request_seq = 3,
seq = 6,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:25:19Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
command = "launch",
request_seq = 1,
seq = 7,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:25:19Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
isLocalProcess = true,
name = "/home/nithin/projects/backend/nlp/manage.py",
pointerSize = 64,
startMethod = "launch",
systemProcessId = 70073
},
event = "process",
seq = 8,
type = "event"
}
[ DEBUG ] 2023-02-26T11:25:19Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
reason = "started",
threadId = 1
},
event = "thread",
seq = 9,
type = "event"
}
[ DEBUG ] 2023-02-26T11:25:21Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
category = "stdout",
output = "Performing system checks...\n\n"
},
event = "output",
seq = 10,
type = "event"
}
[ DEBUG ] 2023-02-26T11:25:24Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
category = "stdout",
output = "System check identified no issues (0 silenced).\n"
},
event = "output",
seq = 11,
type = "event"
}
[ DEBUG ] 2023-02-26T11:25:27Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
category = "stdout",
output = "February 26, 2023 - 05:55:27\n"
},
event = "output",
seq = 12,
type = "event"
}
[ DEBUG ] 2023-02-26T11:25:27Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
category = "stdout",
output = "Django version 3.2.8, using settings 'EPP.settings'\nStarting development server at http://127.0.0.1:8000/\nQuit the server with CONTROL-C.\n"
},
event = "output",
seq = 13,
type = "event"
}
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = vim.empty_dict(),
command = "terminate",
seq = 4,
type = "request"
}
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
body = {
exitCode = 247
},
event = "exited",
seq = 14,
type = "event"
}
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
event = "terminated",
seq = 15,
type = "event"
}
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 1 {
command = "terminate",
request_seq = 4,
seq = 16,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1253 ] "Spawning debug adapter" {
args = { "-m", "debugpy.adapter" },
command = "/home/nithin/.pyenv/versions/neovim/bin/python",
enrich_config = <function 1>,
options = {
source_filetype = "python"
},
type = "executable"
}
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
adapterID = "nvim-dap",
clientId = "neovim",
clientname = "neovim",
columnsStartAt1 = true,
linesStartAt1 = true,
locale = "en_US.UTF-8",
pathFormat = "path",
supportsProgressReporting = true,
supportsRunInTerminalRequest = true,
supportsStartDebuggingRequest = true,
supportsVariableType = true
},
command = "initialize",
seq = 0,
type = "request"
}
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.4"
},
output = "ptvsd"
},
event = "output",
seq = 1,
type = "event"
}
[ INFO ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "ptvsd"
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.4"
},
output = "debugpy"
},
event = "output",
seq = 2,
type = "event"
}
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
body = {
exceptionBreakpointFilters = { {
default = false,
description = "Break whenever any exception is raised.",
filter = "raised",
label = "Raised Exceptions"
}, {
default = true,
description = "Break when the process is exiting due to unhandled exception.",
filter = "uncaught",
label = "Uncaught Exceptions"
}, {
default = false,
description = "Break when exception escapes into library code.",
filter = "userUnhandled",
label = "User Uncaught Exceptions"
} },
supportsClipboardContext = true,
supportsCompletionsRequest = true,
supportsConditionalBreakpoints = true,
supportsConfigurationDoneRequest = true,
supportsDebuggerProperties = true,
supportsDelayedStackTraceLoading = true,
supportsEvaluateForHovers = true,
supportsExceptionInfoRequest = true,
supportsExceptionOptions = true,
supportsFunctionBreakpoints = true,
supportsGotoTargetsRequest = true,
supportsHitConditionalBreakpoints = true,
supportsLogPoints = true,
supportsModulesRequest = true,
supportsSetExpression = true,
supportsSetVariable = true,
supportsStepInTargetsRequest = true,
supportsTerminateRequest = true,
supportsValueFormattingOptions = true
},
command = "initialize",
request_seq = 0,
seq = 3,
success = true,
type = "response"
}
[ INFO ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "debugpy"
[ DEBUG ] 2023-02-26T11:26:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
args = { "runserver", "--noreload" },
console = "internalConsole",
django = false,
env = {
PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT = "10"
},
justMyCode = true,
name = "django",
program = "/home/nithin/projects/backend/nlp/manage.py",
pythonPath = "/home/nithin/.pyenv/versions/3.8.12/envs/nlp/bin/python",
request = "launch",
type = "python"
},
command = "launch",
seq = 1,
type = "request"
}
[ DEBUG ] 2023-02-26T11:26:14Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
event = "initialized",
seq = 4,
type = "event"
}
[ DEBUG ] 2023-02-26T11:26:14Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
filters = { "uncaught" }
},
command = "setExceptionBreakpoints",
seq = 2,
type = "request"
}
[ DEBUG ] 2023-02-26T11:26:14Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
command = "setExceptionBreakpoints",
request_seq = 2,
seq = 5,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:26:14Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
command = "configurationDone",
seq = 3,
type = "request"
}
[ DEBUG ] 2023-02-26T11:26:14Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
command = "configurationDone",
request_seq = 3,
seq = 6,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:26:14Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
command = "launch",
request_seq = 1,
seq = 7,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:26:14Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
body = {
isLocalProcess = true,
name = "/home/nithin/projects/backend/nlp/manage.py",
pointerSize = 64,
startMethod = "launch",
systemProcessId = 70506
},
event = "process",
seq = 8,
type = "event"
}
[ DEBUG ] 2023-02-26T11:26:14Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
body = {
reason = "started",
threadId = 1
},
event = "thread",
seq = 9,
type = "event"
}
[ DEBUG ] 2023-02-26T11:26:16Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
body = {
category = "stdout",
output = "Performing system checks...\n\n"
},
event = "output",
seq = 10,
type = "event"
}
[ DEBUG ] 2023-02-26T11:26:18Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
body = {
category = "stdout",
output = "System check identified no issues (0 silenced).\n"
},
event = "output",
seq = 11,
type = "event"
}
[ DEBUG ] 2023-02-26T11:26:21Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
body = {
category = "stdout",
output = "February 26, 2023 - 05:56:21\nDjango version 3.2.8, using settings 'EPP.settings'\nStarting development server at http://127.0.0.1:8000/\nQuit the server with CONTROL-C.\n"
},
event = "output",
seq = 12,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:32Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1253 ] "Spawning debug adapter" {
args = { "-m", "debugpy.adapter" },
command = "/home/nithin/.pyenv/versions/neovim/bin/python",
enrich_config = <function 1>,
options = {
source_filetype = "python"
},
type = "executable"
}
[ DEBUG ] 2023-02-26T11:27:32Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
adapterID = "nvim-dap",
clientId = "neovim",
clientname = "neovim",
columnsStartAt1 = true,
linesStartAt1 = true,
locale = "en_US.UTF-8",
pathFormat = "path",
supportsProgressReporting = true,
supportsRunInTerminalRequest = true,
supportsStartDebuggingRequest = true,
supportsVariableType = true
},
command = "initialize",
seq = 0,
type = "request"
}
[ DEBUG ] 2023-02-26T11:27:32Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.4"
},
output = "ptvsd"
},
event = "output",
seq = 1,
type = "event"
}
[ INFO ] 2023-02-26T11:27:32Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "ptvsd"
[ DEBUG ] 2023-02-26T11:27:32Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.4"
},
output = "debugpy"
},
event = "output",
seq = 2,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:32Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
exceptionBreakpointFilters = { {
default = false,
description = "Break whenever any exception is raised.",
filter = "raised",
label = "Raised Exceptions"
}, {
default = true,
description = "Break when the process is exiting due to unhandled exception.",
filter = "uncaught",
label = "Uncaught Exceptions"
}, {
default = false,
description = "Break when exception escapes into library code.",
filter = "userUnhandled",
label = "User Uncaught Exceptions"
} },
supportsClipboardContext = true,
supportsCompletionsRequest = true,
supportsConditionalBreakpoints = true,
supportsConfigurationDoneRequest = true,
supportsDebuggerProperties = true,
supportsDelayedStackTraceLoading = true,
supportsEvaluateForHovers = true,
supportsExceptionInfoRequest = true,
supportsExceptionOptions = true,
supportsFunctionBreakpoints = true,
supportsGotoTargetsRequest = true,
supportsHitConditionalBreakpoints = true,
supportsLogPoints = true,
supportsModulesRequest = true,
supportsSetExpression = true,
supportsSetVariable = true,
supportsStepInTargetsRequest = true,
supportsTerminateRequest = true,
supportsValueFormattingOptions = true
},
command = "initialize",
request_seq = 0,
seq = 3,
success = true,
type = "response"
}
[ INFO ] 2023-02-26T11:27:32Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "debugpy"
[ DEBUG ] 2023-02-26T11:27:32Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
args = { "runserver", "--noreload" },
console = "internalConsole",
django = false,
env = {
PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT = "10"
},
justMyCode = true,
name = "django",
program = "/home/nithin/projects/backend/nlp/manage.py",
pythonPath = "/home/nithin/.pyenv/versions/3.8.12/envs/nlp/bin/python",
request = "launch",
type = "python"
},
command = "launch",
seq = 1,
type = "request"
}
[ DEBUG ] 2023-02-26T11:27:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
event = "initialized",
seq = 4,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
filters = { "uncaught" }
},
command = "setExceptionBreakpoints",
seq = 2,
type = "request"
}
[ DEBUG ] 2023-02-26T11:27:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
command = "setExceptionBreakpoints",
request_seq = 2,
seq = 5,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:27:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
command = "configurationDone",
seq = 3,
type = "request"
}
[ DEBUG ] 2023-02-26T11:27:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
command = "configurationDone",
request_seq = 3,
seq = 6,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:27:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
command = "launch",
request_seq = 1,
seq = 7,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:27:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
isLocalProcess = true,
name = "/home/nithin/projects/backend/nlp/manage.py",
pointerSize = 64,
startMethod = "launch",
systemProcessId = 71105
},
event = "process",
seq = 8,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
reason = "started",
threadId = 1
},
event = "thread",
seq = 9,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:35Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
category = "stdout",
output = "Performing system checks...\n\n"
},
event = "output",
seq = 10,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:37Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
category = "stdout",
output = "System check identified no issues (0 silenced).\n"
},
event = "output",
seq = 11,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:40Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
category = "stdout",
output = "February 26, 2023 - 05:57:40\nDjango version 3.2.8, using settings 'EPP.settings'\nStarting development server at http://127.0.0.1:8000/\nQuit the server with CONTROL-C.\n"
},
event = "output",
seq = 12,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:40Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
category = "stderr",
output = "Error: That port is already in use.\n"
},
event = "output",
seq = 13,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:40Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
body = {
exitCode = 1
},
event = "exited",
seq = 14,
type = "event"
}
[ DEBUG ] 2023-02-26T11:27:40Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 3 {
event = "terminated",
seq = 15,
type = "event"
}
[ DEBUG ] 2023-02-26T11:33:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = vim.empty_dict(),
command = "terminate",
seq = 4,
type = "request"
}
[ DEBUG ] 2023-02-26T11:33:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
body = {
exitCode = 247
},
event = "exited",
seq = 13,
type = "event"
}
[ DEBUG ] 2023-02-26T11:33:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
event = "terminated",
seq = 14,
type = "event"
}
[ DEBUG ] 2023-02-26T11:33:13Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 2 {
command = "terminate",
request_seq = 4,
seq = 15,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:36:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1253 ] "Spawning debug adapter" {
args = { "-m", "debugpy.adapter" },
command = "/home/nithin/.pyenv/versions/neovim/bin/python",
enrich_config = <function 1>,
options = {
source_filetype = "python"
},
type = "executable"
}
[ DEBUG ] 2023-02-26T11:36:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
adapterID = "nvim-dap",
clientId = "neovim",
clientname = "neovim",
columnsStartAt1 = true,
linesStartAt1 = true,
locale = "en_US.UTF-8",
pathFormat = "path",
supportsProgressReporting = true,
supportsRunInTerminalRequest = true,
supportsStartDebuggingRequest = true,
supportsVariableType = true
},
command = "initialize",
seq = 0,
type = "request"
}
[ DEBUG ] 2023-02-26T11:36:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.6"
},
output = "ptvsd"
},
event = "output",
seq = 1,
type = "event"
}
[ INFO ] 2023-02-26T11:36:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "ptvsd"
[ DEBUG ] 2023-02-26T11:36:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.6"
},
output = "debugpy"
},
event = "output",
seq = 2,
type = "event"
}
[ INFO ] 2023-02-26T11:36:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "debugpy"
[ DEBUG ] 2023-02-26T11:36:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
body = {
exceptionBreakpointFilters = { {
default = false,
description = "Break whenever any exception is raised.",
filter = "raised",
label = "Raised Exceptions"
}, {
default = true,
description = "Break when the process is exiting due to unhandled exception.",
filter = "uncaught",
label = "Uncaught Exceptions"
}, {
default = false,
description = "Break when exception escapes into library code.",
filter = "userUnhandled",
label = "User Uncaught Exceptions"
} },
supportsClipboardContext = true,
supportsCompletionsRequest = true,
supportsConditionalBreakpoints = true,
supportsConfigurationDoneRequest = true,
supportsDebuggerProperties = true,
supportsDelayedStackTraceLoading = true,
supportsEvaluateForHovers = true,
supportsExceptionInfoRequest = true,
supportsExceptionOptions = true,
supportsFunctionBreakpoints = true,
supportsGotoTargetsRequest = true,
supportsHitConditionalBreakpoints = true,
supportsLogPoints = true,
supportsModulesRequest = true,
supportsSetExpression = true,
supportsSetVariable = true,
supportsStepInTargetsRequest = true,
supportsTerminateRequest = true,
supportsValueFormattingOptions = true
},
command = "initialize",
request_seq = 0,
seq = 3,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:36:33Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
args = { "runserver", "--noreload" },
console = "internalConsole",
django = false,
env = {
PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT = "10"
},
justMyCode = true,
name = "django",
program = "/home/nithin/projects/backend/nlp/manage.py",
pythonPath = "/home/nithin/.pyenv/versions/3.8.12/envs/nlp/bin/python",
request = "launch",
type = "python"
},
command = "launch",
seq = 1,
type = "request"
}
[ DEBUG ] 2023-02-26T11:36:34Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
event = "initialized",
seq = 4,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:34Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
filters = { "uncaught" }
},
command = "setExceptionBreakpoints",
seq = 2,
type = "request"
}
[ DEBUG ] 2023-02-26T11:36:34Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
command = "setExceptionBreakpoints",
request_seq = 2,
seq = 5,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:36:34Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
command = "configurationDone",
seq = 3,
type = "request"
}
[ DEBUG ] 2023-02-26T11:36:34Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
command = "configurationDone",
request_seq = 3,
seq = 6,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:36:34Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
command = "launch",
request_seq = 1,
seq = 7,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:36:34Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
body = {
isLocalProcess = true,
name = "/home/nithin/projects/backend/nlp/manage.py",
pointerSize = 64,
startMethod = "launch",
systemProcessId = 75911
},
event = "process",
seq = 8,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:34Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
body = {
reason = "started",
threadId = 1
},
event = "thread",
seq = 9,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:35Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
body = {
category = "stdout",
output = "Performing system checks...\n\n"
},
event = "output",
seq = 10,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:36Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
body = {
category = "stdout",
output = "System check identified no issues (0 silenced).\n"
},
event = "output",
seq = 11,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:39Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
body = {
category = "stdout",
output = "February 26, 2023 - 06:06:39\n"
},
event = "output",
seq = 12,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:39Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 4 {
body = {
category = "stdout",
output = "Django version 3.2.8, using settings 'EPP.settings'\nStarting development server at http://127.0.0.1:8000/\nQuit the server with CONTROL-C.\n"
},
event = "output",
seq = 13,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:43Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1253 ] "Spawning debug adapter" {
args = { "-m", "debugpy.adapter" },
command = "/home/nithin/.pyenv/versions/neovim/bin/python",
enrich_config = <function 1>,
options = {
source_filetype = "python"
},
type = "executable"
}
[ DEBUG ] 2023-02-26T11:36:43Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
adapterID = "nvim-dap",
clientId = "neovim",
clientname = "neovim",
columnsStartAt1 = true,
linesStartAt1 = true,
locale = "en_US.UTF-8",
pathFormat = "path",
supportsProgressReporting = true,
supportsRunInTerminalRequest = true,
supportsStartDebuggingRequest = true,
supportsVariableType = true
},
command = "initialize",
seq = 0,
type = "request"
}
[ DEBUG ] 2023-02-26T11:36:43Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.6"
},
output = "ptvsd"
},
event = "output",
seq = 1,
type = "event"
}
[ INFO ] 2023-02-26T11:36:43Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "ptvsd"
[ DEBUG ] 2023-02-26T11:36:43Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
category = "telemetry",
data = {
packageVersion = "1.6.6"
},
output = "debugpy"
},
event = "output",
seq = 2,
type = "event"
}
[ INFO ] 2023-02-26T11:36:43Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:722 ] "Telemetry" "debugpy"
[ DEBUG ] 2023-02-26T11:36:43Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
exceptionBreakpointFilters = { {
default = false,
description = "Break whenever any exception is raised.",
filter = "raised",
label = "Raised Exceptions"
}, {
default = true,
description = "Break when the process is exiting due to unhandled exception.",
filter = "uncaught",
label = "Uncaught Exceptions"
}, {
default = false,
description = "Break when exception escapes into library code.",
filter = "userUnhandled",
label = "User Uncaught Exceptions"
} },
supportsClipboardContext = true,
supportsCompletionsRequest = true,
supportsConditionalBreakpoints = true,
supportsConfigurationDoneRequest = true,
supportsDebuggerProperties = true,
supportsDelayedStackTraceLoading = true,
supportsEvaluateForHovers = true,
supportsExceptionInfoRequest = true,
supportsExceptionOptions = true,
supportsFunctionBreakpoints = true,
supportsGotoTargetsRequest = true,
supportsHitConditionalBreakpoints = true,
supportsLogPoints = true,
supportsModulesRequest = true,
supportsSetExpression = true,
supportsSetVariable = true,
supportsStepInTargetsRequest = true,
supportsTerminateRequest = true,
supportsValueFormattingOptions = true
},
command = "initialize",
request_seq = 0,
seq = 3,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:36:43Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
args = { "runserver", "--noreload" },
console = "internalConsole",
django = false,
env = {
PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT = "10"
},
justMyCode = true,
name = "django",
program = "/home/nithin/projects/backend/nlp/manage.py",
pythonPath = "/home/nithin/.pyenv/versions/3.8.12/envs/nlp/bin/python",
request = "launch",
type = "python"
},
command = "launch",
seq = 1,
type = "request"
}
[ DEBUG ] 2023-02-26T11:36:44Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
event = "initialized",
seq = 4,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:44Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
arguments = {
filters = { "uncaught" }
},
command = "setExceptionBreakpoints",
seq = 2,
type = "request"
}
[ DEBUG ] 2023-02-26T11:36:44Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
command = "setExceptionBreakpoints",
request_seq = 2,
seq = 5,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:36:44Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1558 ] "request" {
command = "configurationDone",
seq = 3,
type = "request"
}
[ DEBUG ] 2023-02-26T11:36:44Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
command = "configurationDone",
request_seq = 3,
seq = 6,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:36:44Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
command = "launch",
request_seq = 1,
seq = 7,
success = true,
type = "response"
}
[ DEBUG ] 2023-02-26T11:36:44Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
isLocalProcess = true,
name = "/home/nithin/projects/backend/nlp/manage.py",
pointerSize = 64,
startMethod = "launch",
systemProcessId = 76019
},
event = "process",
seq = 8,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:44Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
reason = "started",
threadId = 1
},
event = "thread",
seq = 9,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:46Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
category = "stdout",
output = "Performing system checks...\n\n"
},
event = "output",
seq = 10,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:48Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
category = "stdout",
output = "System check identified no issues (0 silenced).\n"
},
event = "output",
seq = 11,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:51Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
category = "stdout",
output = "February 26, 2023 - 06:06:51\n"
},
event = "output",
seq = 12,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:51Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
category = "stdout",
output = "Django version 3.2.8, using settings 'EPP.settings'\nStarting development server at http://127.0.0.1:8000/\nQuit the server with CONTROL-C.\n"
},
event = "output",
seq = 13,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:51Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
category = "stderr",
output = "Error: That port is already in use.\n"
},
event = "output",
seq = 14,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:51Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
body = {
exitCode = 1
},
event = "exited",
seq = 15,
type = "event"
}
[ DEBUG ] 2023-02-26T11:36:51Z+0530 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:931 ] 5 {
event = "terminated",
seq = 16,
type = "event"
}
Metadata
Metadata
Assignees
Labels
No labels