Skip to content

Commit

Permalink
Removed DebugStdLib from arguments of attach
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Jan 12, 2022
1 parent 0ab288f commit aa0d637
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ipykernel/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,11 @@ async def attach(self, message):
'port': port
}
message['arguments']['logToFile'] = True
# Reverts that option for now since it leads to spurious break of the code
# in ipykernel source and resuming the execution leads to several errors
# in the kernel.
# Set debugOptions for breakpoints in python standard library source.
message['arguments']['debugOptions'] = [ 'DebugStdLib' ]
# message['arguments']['debugOptions'] = [ 'DebugStdLib' ]
return await self._forward_message(message)

async def configurationDone(self, message):
Expand Down

0 comments on commit aa0d637

Please sign in to comment.