From 853cc05f50fdb19a4964e07c4f92c1934109c464 Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Thu, 25 Jul 2024 15:59:49 -0500 Subject: [PATCH] add debugpy entry point --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 1bfba237..d16a27c5 100644 --- a/setup.py +++ b/setup.py @@ -195,5 +195,7 @@ if __name__ == "__main__": ext_modules=ExtModules(), has_ext_modules=lambda: True, cmdclass=cmds, + # allow the user to call "debugpy" instead of "python -m debugpy" + entry_points={"console_scripts": ["debugpy = debugpy.server.cli:main"]}, **extras )