René's URL Explorer Experiment


Title: Python / envFile in launch.json causes issues · Issue #149 · microsoft/vscode-python · GitHub

Open Graph Title: Python / envFile in launch.json causes issues · Issue #149 · microsoft/vscode-python

X Title: Python / envFile in launch.json causes issues · Issue #149 · microsoft/vscode-python

Description: From Andre Weinand (@weinand) on July 19, 2017 18:50 From blitzd on July 19, 2017 18:13 VSCode Version: Code 1.14.1 (2648980a697a4c8fb5777dcfb2ab110cec8a2f58, 2017-07-13T19:12:01.887Z) OS Version: Linux x64 4.8.0-53-generic Extensions: E...

Open Graph Description: From Andre Weinand (@weinand) on July 19, 2017 18:50 From blitzd on July 19, 2017 18:13 VSCode Version: Code 1.14.1 (2648980a697a4c8fb5777dcfb2ab110cec8a2f58, 2017-07-13T19:12:01.887Z) OS Version: ...

X Description: From Andre Weinand (@weinand) on July 19, 2017 18:50 From blitzd on July 19, 2017 18:13 VSCode Version: Code 1.14.1 (2648980a697a4c8fb5777dcfb2ab110cec8a2f58, 2017-07-13T19:12:01.887Z) OS Version: ...

Opengraph URL: https://github.com/microsoft/vscode-python/issues/149

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python / envFile in launch.json causes issues","articleBody":"_From @weinand on July 19, 2017 18:50_\n\n_From @blitzd on July 19, 2017 18:13_\n\n- VSCode Version: Code 1.14.1 (2648980a697a4c8fb5777dcfb2ab110cec8a2f58, 2017-07-13T19:12:01.887Z)\r\n- OS Version: Linux x64 4.8.0-53-generic\r\n- Extensions: \r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\nvscode-docker|Pet|0.0.16\r\ngitignore|cod|0.5.0\r\ngithistory|don|0.2.1\r\npython|don|0.6.7\r\ngitlens|eam|4.3.1\r\nvscode-npm-script|eg2|0.2.0\r\nMagicPython|mag|1.0.10\r\ndebugger-for-chrome|msj|3.1.6\r\nremote-vscode|raf|1.1.0\r\nvscode-icons|rob|7.10.1\r\n\r\n(1 theme extensions excluded)\r\n\r\n\r\n---\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a simple project with a Python launch.json configuration:\r\n\r\n`launch.json`\r\n```\r\n{\r\n  \"version\": \"0.2.0\",\r\n  \"configurations\": [\r\n    {\r\n      \"name\": \"Python\",\r\n      \"type\": \"python\",\r\n      \"request\": \"launch\",\r\n      \"stopOnEntry\": false,\r\n      \"pythonPath\": \"${config:python.pythonPath}\",\r\n      \"program\": \"${file}\",\r\n      \"cwd\": \"${workspaceRoot}\",\r\n      \"env\": {},\r\n      \"envFile\": \"${workspaceRoot}/.env\",\r\n      \"debugOptions\": [\r\n        \"WaitOnAbnormalExit\",\r\n        \"WaitOnNormalExit\",\r\n        \"RedirectOutput\"\r\n      ],\r\n      \"console\": \"integratedTerminal\"\r\n    }\r\n  ]\r\n}\r\n```\r\n`script.py`\r\n```\r\nprint('This is a test')\r\n```\r\n\r\n2. Run the Python debug for script.py\r\n\r\n3. The console is set to integratedTerminal as the debug console will otherwise swallow the output. On my own system the output first lists all of the my shell ENV variables, then again iterates them one at a time. It looks like it dies when it hits the LS_COLORS and is interpreting the internal `=` as a split between an environment variable key and value:\r\n\r\n```\r\n...\r\nLC_CTYPE=en_CA.UTF-8\r\nSETTING=1\r\nWINDOWID=96468997\r\nzsh: command not found: 34:ln=01\r\nzsh: command not found: 36:mh=00:pi=40\r\nzsh: command not found: 33:so=01\r\nzsh: command not found: 35:do=01\r\nzsh: command not found: 35:bd=40\r\nzsh: command not found: 33\r\nzsh: command not found: 01:cd=40\r\nzsh: command not found: 33\r\nzsh: command not found: 01:or=40\r\n...\r\n```\r\n\r\nI have also tried with the shell set to `/bin/bash` with the same result.\r\n\r\nReproduces without extensions: Unable to check as the python extensions are required for the python debug.\r\n\r\nWorkaround: Removing the .envFile setting from the launch.json profile resolves the issue, or otherwise setting the values in the launch.json .env setting also avoids the problem - so it seems there is some difference in how the .envFile settings are being applied over the ones in .env.\n\n_Copied from original issue: Microsoft/vscode#31065_\n\n_Copied from original issue: DonJayamanne/pythonVSCode#1104_","author":{"url":"https://github.com/DonJayamanne","@type":"Person","name":"DonJayamanne"},"datePublished":"2017-11-14T00:10:17Z","url":"https://github.com/microsoft/vscode-python/issues/149"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ba52e12f-ac79-7bd5-7d7c-bb9b22eb549c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCEEE:3A7E17:19248:243AC:6AFDC9E2
html-safe-nonce2eea89b70669b9e67f1a18eb577e65cfb3a72b4acb822279d714454238cbf587
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUVFOjNBN0UxNzoxOTI0ODoyNDNBQzo2QUZEQzlFMiIsInZpc2l0b3JfaWQiOiI0NjU4MjkwMDI3NDUxNTAxMDI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbbab50ecfa82ea1c337da823d60193a72e97c792cf019e8f48aa88f055221033
hovercard-subject-tagissue:273623403
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/149/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1bdc53f7fffa655d46ebb55b508af6933a37a0df0a0ad19c9f97c1d78e4ba882/microsoft/vscode-python/issues/149
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1bdc53f7fffa655d46ebb55b508af6933a37a0df0a0ad19c9f97c1d78e4ba882/microsoft/vscode-python/issues/149
og:image:altFrom Andre Weinand (@weinand) on July 19, 2017 18:50 From blitzd on July 19, 2017 18:13 VSCode Version: Code 1.14.1 (2648980a697a4c8fb5777dcfb2ab110cec8a2f58, 2017-07-13T19:12:01.887Z) OS Version: ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDonJayamanne
hostnamegithub.com
expected-hostnamegithub.com
None9ab00cc3b4fa90bbd3da70765dd38efc23cfa9d9b0930e41feea2bf67f60ecaf
turbo-cache-controlno-preview
go-importgithub.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id106462765
octolytics-dimension-repository_nwomicrosoft/vscode-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id49946255
octolytics-dimension-repository_parent_nwoDonJayamanne/pythonVSCode
octolytics-dimension-repository_network_root_id49946255
octolytics-dimension-repository_network_root_nwoDonJayamanne/pythonVSCode
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1b795ba060b92691fc16c5a12cf2bf95e83432b4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/vscode-python/issues/149#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F149
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F149
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fvscode-python
Reloadhttps://github.com/microsoft/vscode-python/issues/149
Reloadhttps://github.com/microsoft/vscode-python/issues/149
Reloadhttps://github.com/microsoft/vscode-python/issues/149
microsofthttps://github.com/microsoft
vscode-pythonhttps://github.com/microsoft/vscode-python
Codehttps://github.com/microsoft/vscode-python
Issues346 (346)https://github.com/microsoft/vscode-python/issues
Pull requests57 (57)https://github.com/microsoft/vscode-python/pulls
Discussionshttps://github.com/microsoft/vscode-python/discussions
Actionshttps://github.com/microsoft/vscode-python/actions
Wikihttps://github.com/microsoft/vscode-python/wiki
Security and quality2 (2)https://github.com/microsoft/vscode-python/security
Insightshttps://github.com/microsoft/vscode-python/insights
https://github.com/microsoft/vscode-python
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/149
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/149
Python / envFile in launch.json causes issueshttps://github.com/microsoft/vscode-python/issues/149#top
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
December 2017https://github.com/microsoft/vscode-python/milestone/1
https://github.com/DonJayamanne
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Nov 14, 2017https://github.com/microsoft/vscode-python/issues/149#issue-273623403
Andre Weinand (@weinand)https://github.com/weinand
blitzdhttps://github.com/blitzd
microsoft/vscode#31065https://github.com/microsoft/vscode/issues/31065
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
Debuggerhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22Debugger%22
mhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22m%22
Mischttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22Misc%22
on Nov 14, 2017https://github.com/microsoft/vscode-python/issues/149#event-1339865868
https://github.com/DonJayamanne
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Nov 14, 2017https://github.com/microsoft/vscode-python/issues/149#issuecomment-344101847
Andre Weinand (@weinand)https://github.com/weinand
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
Debuggerhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22Debugger%22
mhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22m%22
Mischttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22Misc%22
on Nov 14, 2017https://github.com/microsoft/vscode-python/issues/149#event-1340317061
Brett Cannon (brettcannon)https://github.com/brettcannon
awaiting 1-verificationhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%201-verification%22
feature-extensionhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22feature-extension%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
on Nov 14, 2017https://github.com/microsoft/vscode-python/issues/149#event-1341958846
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
December 2017https://github.com/microsoft/vscode-python/milestone/1
on Nov 17, 2017https://github.com/microsoft/vscode-python/issues/149#event-1347730135
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
awaiting 3-mergehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%203-merge%22
awaiting 1-verificationhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%201-verification%22
on Nov 17, 2017https://github.com/microsoft/vscode-python/issues/149#event-1347730301
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Nov 22, 2017https://github.com/microsoft/vscode-python/issues/149#event-1354720623
Fix issues when running without debugging and debugged code terminates (https://github.com/microsoft/vscode-python/commit/a6b49d2c6193c71eca1c2af01fa2996b9efea723
a6b49d2https://github.com/microsoft/vscode-python/commit/a6b49d2c6193c71eca1c2af01fa2996b9efea723
Brett Cannon (brettcannon)https://github.com/brettcannon
awaiting 4-validationhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%204-validation%22
closed-fixedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22closed-fixed%22
awaiting 3-mergehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%203-merge%22
on Nov 23, 2017https://github.com/microsoft/vscode-python/issues/149#event-1356220340
Brett Cannon (brettcannon)https://github.com/brettcannon
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 27, 2017https://github.com/microsoft/vscode-python/issues/149#event-1360354828
Brett Cannon (brettcannon)https://github.com/brettcannon
awaiting 4-validationhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%204-validation%22
on Dec 12, 2017https://github.com/microsoft/vscode-python/issues/149#event-1384211215
Brett Cannon (brettcannon)https://github.com/brettcannon
closed-verified fixedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22closed-verified%20fixed%22
closed-fixedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22closed-fixed%22
on Feb 1, 2018https://github.com/microsoft/vscode-python/issues/149#event-1454129402
lockhttps://github.com/apps/lock
on Jul 12, 2018https://github.com/microsoft/vscode-python/issues/149#event-1729495975
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/149
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/149
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
December 2017https://github.com/microsoft/vscode-python/milestone/1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.