Title: launch.json Pyramid debug option tries to launch the wrong program on Windows · Issue #519 · microsoft/vscode-python · GitHub
Open Graph Title: launch.json Pyramid debug option tries to launch the wrong program on Windows · Issue #519 · microsoft/vscode-python
X Title: launch.json Pyramid debug option tries to launch the wrong program on Windows · Issue #519 · microsoft/vscode-python
Description: Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.3 OS and version: Windows 10 (10.0.16299 Build 16299) Actual behavior On Windows when a python launch configuration is used where Pyramid is inc...
Open Graph Description: Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.3 OS and version: Windows 10 (10.0.16299 Build 16299) Actual behavior On Windows when a python launch co...
X Description: Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.3 OS and version: Windows 10 (10.0.16299 Build 16299) Actual behavior On Windows when a python launch co...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/519
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"launch.json Pyramid debug option tries to launch the wrong program on Windows","articleBody":"## Environment data\r\nVS Code version: 1.19.1\r\nPython Extension version: 0.9.1\r\nPython Version: 3.6.3\r\nOS and version: Windows 10 (10.0.16299 Build 16299)\r\n\r\n## Actual behavior\r\n\r\nOn Windows when a python launch configuration is used where ```Pyramid``` is included in the configuration's ```debugOptions``` list, the extension tries to launch the wrong program. Instead of launching ```pserve.exe```, the extension tries to launch ```pserve``` which results in an error. \r\n\r\n```File does not exist. \"[Workspace Directory]\\partfinder\\env\\Scripts\\pserve\"```\r\n\r\n## Expected behavior\r\n\r\nThe appropriate program (```pserve.exe```) should be launched.\r\n\r\n## Steps to reproduce: \r\n- On Windows, install Visual Studio Code with the ```ms-python.python``` extension.\r\n- Create a new folder and open it with Visual Studio Code.\r\n- Set up a virtual environment with ```python -m venv env```.\r\n- Install Pyramid with ```env/Scripts/pip.exe install pyramid```.\r\n- Configure your ```python.pythonPath``` setting for your workspace, by saving the following into ```.vscode/settings.json```:\r\n```\r\n{\r\n \"python.pythonPath\": \"${workspaceFolder}/env/Scripts/python.exe\"\r\n}\r\n```\r\n- Save the following into ```.vscode/launch.json```:\r\n```\r\n{\r\n \"version\": \"0.2.0\",\r\n \"configurations\": [\r\n {\r\n \"name\": \"Python: Pyramid\",\r\n \"type\": \"python\",\r\n \"request\": \"launch\",\r\n \"stopOnEntry\": true,\r\n \"pythonPath\": \"${config:python.pythonPath}\",\r\n \"cwd\": \"${workspaceFolder}\",\r\n \"env\": {},\r\n \"envFile\": \"${workspaceFolder}/.env\",\r\n \"args\": [\r\n \"${workspaceFolder}/development.ini\"\r\n ],\r\n \"debugOptions\": [\r\n \"RedirectOutput\",\r\n \"Pyramid\"\r\n ]\r\n }\r\n ]\r\n}\r\n```\r\n- Try to start debugging, using the ```Python: Pyramid``` launch configuration \r\n\r\n## Logs\r\nOutput from ```Python``` output panel \r\n```\r\n[Nothing is outputted]\r\n``` \r\nOutput from ```Console window``` (Help->Developer Tools menu)\r\n```\r\nmessageService.ts:126 File does not exist. \"[Workspace Folder]\\partfinder\\env\\Scripts\\pserve\"\r\n```\r\n","author":{"url":"https://github.com/andrew-fuchs","@type":"Person","name":"andrew-fuchs"},"datePublished":"2018-01-02T20:09:26Z","url":"https://github.com/microsoft/vscode-python/issues/519"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f808261a-ad9f-1190-f2e8-79df75b6e678 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D784:6044B:628C3A:81A60F:6AFE6C4C |
| html-safe-nonce | 6234f0d6e5ba6ff8f2a0f3f47e037f402f3024878cfbb54d20260e0882469f46 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzg0OjYwNDRCOjYyOEMzQTo4MUE2MEY6NkFGRTZDNEMiLCJ2aXNpdG9yX2lkIjoiMTg5ODY0OTMyNTAyMjM3NDk4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ca19fc5facc4eaac2262c3b86b5aa1de53305acde3ccb5231d2c7687d2e367b0 |
| hovercard-subject-tag | issue:285525067 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Microsoft/vscode-python/519/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3adfc9db5e84c8d2d664367d8c44f0de801dcabeb3bb6ba5a187080e765eae3c/microsoft/vscode-python/issues/519 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3adfc9db5e84c8d2d664367d8c44f0de801dcabeb3bb6ba5a187080e765eae3c/microsoft/vscode-python/issues/519 |
| og:image:alt | Environment data VS Code version: 1.19.1 Python Extension version: 0.9.1 Python Version: 3.6.3 OS and version: Windows 10 (10.0.16299 Build 16299) Actual behavior On Windows when a python launch co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andrew-fuchs |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width