解决该问题的步骤如下 open vs code settings search for Python Locator switch from native to js restart the vs code