From de6a9cf6d6851788dbc27ed4a656a4c8ba6acfbe Mon Sep 17 00:00:00 2001 From: HeeJae Chang Date: Fri, 17 Feb 2023 16:00:17 -0800 Subject: [PATCH] Set up the proper execution environment so that Pylance knows the correct import root for the import statement. --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9a79e555..51f6e850 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,3 +18,7 @@ pythonVersion = "3.7" include = ["src"] extraPaths = ["src/debugpy/_vendored/pydevd"] ignore = ["src/debugpy/_vendored/pydevd", "src/debugpy/_version.py"] +executionEnvironments = [ + { root = "src" } +] +