Title: Python extension activates on any debug · Issue #57 · microsoft/vscode-python · GitHub
Open Graph Title: Python extension activates on any debug · Issue #57 · microsoft/vscode-python
X Title: Python extension activates on any debug · Issue #57 · microsoft/vscode-python
Description: Environment data VS Code version: 1.18.0 Python Extension version: 0.8.0 Python 2 Version: 2.7.14 Python 3 Version: 3.6.2 OS and version: Fedora 26 x86_64 Actual behavior The extension always starts when debugging any kind of project. Ex...
Open Graph Description: Environment data VS Code version: 1.18.0 Python Extension version: 0.8.0 Python 2 Version: 2.7.14 Python 3 Version: 3.6.2 OS and version: Fedora 26 x86_64 Actual behavior The extension always start...
X Description: Environment data VS Code version: 1.18.0 Python Extension version: 0.8.0 Python 2 Version: 2.7.14 Python 3 Version: 3.6.2 OS and version: Fedora 26 x86_64 Actual behavior The extension always start...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/57
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python extension activates on any debug","articleBody":"## Environment data\r\nVS Code version: 1.18.0\r\nPython Extension version: 0.8.0\r\nPython 2 Version: 2.7.14\r\nPython 3 Version: 3.6.2\r\nOS and version: Fedora 26 x86_64\r\n\r\n## Actual behavior\r\nThe extension always starts when debugging any kind of project.\r\n\r\n## Expected behavior\r\nThe extension probably shouldn't start when debugging projects that do not contain any python code.\r\n\r\n## Steps to reproduce: \r\n- Open a non-python project with a `launch.json` file\r\n- Start a debugging session with `F5`\r\n\r\nFrom what I see in [`package.json`'s activation events](https://github.com/Microsoft/vscode-python/blob/master/package.json#L45), it looks like it's supposed to activate on any debugging session. However I don't see the point, as it only slows down debugging other projects.\r\n\r\nI know I can just disable the extension for non-python projects, but that activation event still seems a bit overkill. Is there a reason for not using `\"workspaceContains:**/*.py\"` (and a few others for other extensions) instead ?","author":{"url":"https://github.com/LaurentTreguier","@type":"Person","name":"LaurentTreguier"},"datePublished":"2017-11-13T08:50:43Z","url":"https://github.com/microsoft/vscode-python/issues/57"}
| 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:73d0f576-28a0-181b-9e51-065799b8c279 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF3C:C816B:B0406C:F76FC3:6AFDD09D |
| html-safe-nonce | 5d4965af07f8859a66ab931c1ea82e814b2ed4d47b8f8e97c09c32fe70392dc1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjNDOkM4MTZCOkIwNDA2QzpGNzZGQzM6NkFGREQwOUQiLCJ2aXNpdG9yX2lkIjoiNjg4OTg0Njk4NTk2MDgzNzI3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4e23dca4f0228c8a926aa11bf289b20ba22aa28a26c3ec1c8b9f004a35c66eb2 |
| hovercard-subject-tag | issue:273351322 |
| 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/57/issue_layout |
| twitter:image | https://opengraph.githubassets.com/36cf71f8731ee57bcc217fa39e64ee2491a77d3187175958ee7ea37e3159760b/microsoft/vscode-python/issues/57 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/36cf71f8731ee57bcc217fa39e64ee2491a77d3187175958ee7ea37e3159760b/microsoft/vscode-python/issues/57 |
| og:image:alt | Environment data VS Code version: 1.18.0 Python Extension version: 0.8.0 Python 2 Version: 2.7.14 Python 3 Version: 3.6.2 OS and version: Fedora 26 x86_64 Actual behavior The extension always start... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LaurentTreguier |
| hostname | github.com |
| expected-hostname | github.com |
| None | 26886a40b582b821a7a76351e0a2f42b6d6160854b6e2520db24f31fd7be5da7 |
| 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 | 68ebaa631a1d248d69ebde4b9c5defd3a19aeb2f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width