Files
gef/scripts/vscode_debug.py
crazy hugsy 5d49c227da Added docs to debug using VSCode (#995)
This PR adds the documentation to use VSCode as a source debugging
platform for GEF.

It also fixes the PR template MD file, which had a non-terminated HTML
comment tag.
2023-08-20 19:06:41 -07:00

8 lines
172 B
Python

import debugpy
DEBUGPY_PORT = 5678
debugpy.listen(DEBUGPY_PORT)
print("Waiting for debugger attach")
debugpy.wait_for_client()
print("Client connected, resuming session")