mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix #1886: test_flask_breakpoint_multiproc fails with run=attach_by_socket
Adjust sys.path before running Flask from the stub script.
This commit is contained in:
parent
fb6d35ebea
commit
52ebb7ca1f
1 changed files with 1 additions and 1 deletions
|
|
@ -5,4 +5,4 @@
|
|||
import debug_me # noqa
|
||||
import runpy
|
||||
|
||||
runpy.run_module("flask", run_name="__main__")
|
||||
runpy.run_module("flask", run_name="__main__", alter_sys=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue