Fix #116: debugpy requires pathFormat in initialize request

Make "pathFormat" optional as per the DAP specification.
This commit is contained in:
Pavel Minaev 2020-04-15 11:02:46 -07:00 committed by Pavel Minaev
parent 0dd33dd250
commit e23d0c23d8

View file

@ -32,7 +32,7 @@ class Client(components.Component):
"locale": "en-US",
"linesStartAt1": True,
"columnsStartAt1": True,
"pathFormat": json.enum("path"), # we don't support "uri"
"pathFormat": json.enum("path", optional=True), # we don't support "uri"
}
def __init__(self, sock):