You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
264 B

import asyncio
from dap import AsyncServer
async def debug_session():
server = AsyncServer("debugpy", port=12345)
await server.start()
client = server.client
client.launch()
client.disconnect()
server.stop()
asyncio.run(debug_session())