mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
parent
498c071ed4
commit
10d4e51f51
1 changed files with 2 additions and 1 deletions
|
|
@ -513,7 +513,8 @@ class VSCodeMessageProcessor(ipcjson.SocketIO, ipcjson.IpcChannel):
|
|||
def on_initialize(self, request, args):
|
||||
# TODO: docstring
|
||||
cmd = pydevd_comm.CMD_VERSION
|
||||
msg = '1.1\tUNIX\tID'
|
||||
os_id = 'WINDOWS' if platform.system() == 'Windows' else 'UNIX'
|
||||
msg = '1.1\t{}\tID'.format(os_id)
|
||||
yield self.pydevd_request(cmd, msg)
|
||||
self.send_response(
|
||||
request,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue