Title: Discuss the need for the prompt at the end of the execution of a program · Issue #239 · microsoft/vscode-python · GitHub
Open Graph Title: Discuss the need for the prompt at the end of the execution of a program · Issue #239 · microsoft/vscode-python
X Title: Discuss the need for the prompt at the end of the execution of a program · Issue #239 · microsoft/vscode-python
Description: Brett Cannon (@brettcannon) At the end of program execution (while debugging) we display the prompt Press any key to continue...' I've only added this as PTVS does the same thing (i.e. wanted to be consistent). However I think PTVS does ...
Open Graph Description: Brett Cannon (@brettcannon) At the end of program execution (while debugging) we display the prompt Press any key to continue...' I've only added this as PTVS does the same thing (i.e. wanted to be...
X Description: Brett Cannon (@brettcannon) At the end of program execution (while debugging) we display the prompt Press any key to continue...' I've only added this as PTVS does the same thing (i.e. want...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/239
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Discuss the need for the prompt at the end of the execution of a program","articleBody":"@brettcannon \r\nAt the end of program execution (while debugging) we display the prompt `Press any key to continue...'\r\nI've only added this as PTVS does the same thing (i.e. wanted to be consistent). However I think PTVS does it because the terminal gets closed once you hit the `Enter` key, i.e. you can't see the output). \r\n\r\nPersonally I don't see the need for this in VS Code. \r\nReason is when you execute a simple program such as `print(\"hello world\")`, the program doesn't end until you hit the enter key (except when debugging using the standard vscode debug console). I.e. everytime you run a simple program, you have to hit the `Enter` key (more key presses).\r\n\r\nHere's an example:\r\n\r\n```\r\nPS C:\\git\\python> cd 'c:\\git\\python'; $env:PYTHONIOENCODING='UTF-8'; $env:PYTHONUNBUFFERED='1'; c:/python36/python C:\\Users\\...\\.vscode-insiders\\extensions\\ms-python.python-0.8.0\\pythonFiles\\PythonTools\\visualstudio_py_launcher.py c:\\git\\python 50640 34806ad9-833a-4524-8cd6-18ca4aa74f14 WaitOnAbnormalExit,WaitOnNormalExit c:\\git\\python\\HelloWorld.py\r\nHello, world!\r\nPress any key to continue . . .\r\n```","author":{"url":"https://github.com/DonJayamanne","@type":"Person","name":"DonJayamanne"},"datePublished":"2017-11-16T01:23:52Z","url":"https://github.com/microsoft/vscode-python/issues/239"}
| 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:c8a3fae6-bb3b-a373-a016-2b953a5c1c74 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E546:3A7E17:3451C:4C3FB:6AFDCA53 |
| html-safe-nonce | 294437b9a7a95a7ec17327427647564d8905fd32074a617f24206bd70c4569d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTQ2OjNBN0UxNzozNDUxQzo0QzNGQjo2QUZEQ0E1MyIsInZpc2l0b3JfaWQiOiI1ODA0MjA5ODUwNjAyNjA1MTM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b6842ae23f16cada0afd8331271935d1bf48deac95fc6cc7acaea53b99253ce2 |
| hovercard-subject-tag | issue:274363070 |
| 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/239/issue_layout |
| twitter:image | https://opengraph.githubassets.com/889f45442d153be14ef91cd0e2886b8786b84eac54a2b3a336ac92f9839c1a85/microsoft/vscode-python/issues/239 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/889f45442d153be14ef91cd0e2886b8786b84eac54a2b3a336ac92f9839c1a85/microsoft/vscode-python/issues/239 |
| og:image:alt | Brett Cannon (@brettcannon) At the end of program execution (while debugging) we display the prompt Press any key to continue...' I've only added this as PTVS does the same thing (i.e. wanted to be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DonJayamanne |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9ab00cc3b4fa90bbd3da70765dd38efc23cfa9d9b0930e41feea2bf67f60ecaf |
| 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 | 1b795ba060b92691fc16c5a12cf2bf95e83432b4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width