mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix #116: debugpy requires pathFormat in initialize request
Make "pathFormat" optional as per the DAP specification.
This commit is contained in:
parent
0dd33dd250
commit
e23d0c23d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue