{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2732","repository_url":"https://api.github.com/repos/Microsoft/vscode-python","labels_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2732/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2732/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2732/events","html_url":"https://github.com/Microsoft/vscode-python/issues/2732","id":365197673,"node_id":"MDU6SXNzdWUzNjUxOTc2NzM=","number":2732,"title":"Timeout waiting for debugger connection when using Windows PowerShell","user":{"login":"F8F-Bearcat","id":4899128,"node_id":"MDQ6VXNlcjQ4OTkxMjg=","avatar_url":"https://avatars3.githubusercontent.com/u/4899128?v=4","gravatar_id":"","url":"https://api.github.com/users/F8F-Bearcat","html_url":"https://github.com/F8F-Bearcat","followers_url":"https://api.github.com/users/F8F-Bearcat/followers","following_url":"https://api.github.com/users/F8F-Bearcat/following{/other_user}","gists_url":"https://api.github.com/users/F8F-Bearcat/gists{/gist_id}","starred_url":"https://api.github.com/users/F8F-Bearcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/F8F-Bearcat/subscriptions","organizations_url":"https://api.github.com/users/F8F-Bearcat/orgs","repos_url":"https://api.github.com/users/F8F-Bearcat/repos","events_url":"https://api.github.com/users/F8F-Bearcat/events{/privacy}","received_events_url":"https://api.github.com/users/F8F-Bearcat/received_events","type":"User","site_admin":false},"labels":[{"id":965020391,"node_id":"MDU6TGFiZWw5NjUwMjAzOTE=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/P0","name":"P0","color":"e564df","default":false},{"id":717126847,"node_id":"MDU6TGFiZWw3MTcxMjY4NDc=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/feature-debugging","name":"feature-debugging","color":"006b75","default":false},{"id":717071474,"node_id":"MDU6TGFiZWw3MTcwNzE0NzQ=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/needs%20PR","name":"needs PR","color":"fbca04","default":false},{"id":716013197,"node_id":"MDU6TGFiZWw3MTYwMTMxOTc=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/type-bug","name":"type-bug","color":"ee0701","default":false},{"id":1048239608,"node_id":"MDU6TGFiZWwxMDQ4MjM5NjA4","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/unplanned","name":"unplanned","color":"A0522D","default":false},{"id":918802774,"node_id":"MDU6TGFiZWw5MTg4MDI3NzQ=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/x-conda","name":"x-conda","color":"221089","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode-python/milestones/13","html_url":"https://github.com/Microsoft/vscode-python/milestone/13","labels_url":"https://api.github.com/repos/Microsoft/vscode-python/milestones/13/labels","id":3710814,"node_id":"MDk6TWlsZXN0b25lMzcxMDgxNA==","number":13,"title":"2018, week 40 - October Sprint 1","description":"Story points = ??/??","creator":{"login":"brettcannon","id":54418,"node_id":"MDQ6VXNlcjU0NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/54418?v=4","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":30,"state":"open","created_at":"2018-10-03T22:32:53Z","updated_at":"2018-10-17T17:44:04Z","due_on":"2018-10-16T07:00:00Z","closed_at":null},"comments":98,"created_at":"2018-09-30T06:37:57Z","updated_at":"2018-10-17T19:15:47Z","closed_at":"2018-10-16T21:02:10Z","author_association":"NONE","body":"<!-- \r\nDo you have a question instead of a bug report or enhancement request? Please ask it on https://stackoverflow.com/questions/tagged/visual-studio-code+python. \r\n\r\nUnable to install a linter or formatter? 'No installers available'? \r\nWindows - https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows\r\nLinux - https://www.cyberciti.biz/faq/debian-ubuntu-centos-rhel-linux-install-pipclient/ , https://www.tecmint.com/install-pip-in-linux/\r\n\r\nPython configuration issues? Please check https://code.visualstudio.com/docs/python/python-tutorial#_prerequisites\r\n\r\nOtherwise **please** fill in the requested details below. \"XXX\" markers should not be present in the final bug report.\r\n\r\nIf you think a GIF of what is happening would be helpful, consider tools like https://www.cockos.com/licecap/, https://github.com/phw/peek or https://www.screentogif.com/ .\r\n-->\r\n\r\n## Environment data\r\n\r\n- VS Code version: 1.27.2\r\n- Extension version (available under the Extensions sidebar): 2018.8.0\r\n- OS and version: Windows 10 professional release 10.0.17134\r\n- Python version (& distribution if applicable, e.g. Anaconda):  Anaconda 2.7 with Python 3.6.5 conda virtual environment \r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda \r\n- Relevant/affected Python packages and their versions:  simple helloworld.py no imports\r\n\r\n## Actual behavior\r\n\r\nwith a simple hello world - click on debugger selection and green run debug symbol, timeout occurs waiting for debugger connection\r\n\r\n## Expected  behavior\r\n\r\nExpecting debugger to connect\r\n\r\n## Steps to reproduce:\r\n1. open hello.py file \r\n2. click on debug spider symbol on left vertical bar\r\n\r\n## Logs\r\nOutput for `Python` in the `Output` panel (`View`→`Output`, change the drop-down the upper-right of the `Output` panel to `Python`)\r\n\r\n```\r\n##########Linting Output - pylint##########\r\n\r\n--------------------------------------------------------------------\r\n\r\nYour code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)\r\n```\r\n\r\nOutput from `Console` under the `Developer Tools` panel (toggle Developer Tools on under `Help`)\r\n\r\n```\r\n INFO no standard startup: panel is active\r\nconsole.ts:136 [Extension Host] vscode-icons is active!\r\nconsole.ts:136 [Extension Host] Git extension API method 'getGitPath' is deprecated.\r\nt.log @ console.ts:136\r\nconsole.ts:136 [Extension Host] Python Extension: Failed to get conda environment list from conda Error: spawn conda ENOENT\r\n\tat _errnoException (util.js:1024:11)\r\n\tat Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)\r\n\tat onErrorNT (internal/child_process.js:372:16)\r\n\tat _combinedTickCallback (internal/process/next_tick.js:138:11)\r\n\tat process._tickCallback (internal/process/next_tick.js:180:9)\r\n```\r\nOK, opening the ticket, as Brett suggested was a good idea.  I had no idea this was the way to get a error message to trigger off of.   I searched the error and found a similar issue.  There were several questions there which I will answer here.\r\n\r\nConda install location: C:\\PyAna2\r\n\r\n.vscode/settings.json, what is python.pythonPath value?    I find no settings.json file there, extensions only\r\n\r\nConda env list:\r\n\r\n(pandas36) C:\\Users\\Free Agent>conda env list\r\n\r\n# conda environments:\r\n#\r\n\r\nbase                     C:\\PyAna2\r\npandas36              *  C:\\PyAna2\\envs\\pandas36\r\npdf27                    C:\\PyAna2\\envs\\pdf27\r\n\r\n```\r\n> \r\n(pandas36) C:\\Users\\Free Agent>conda list\r\n# packages in environment at C:\\PyAna2\\envs\\pandas36:\r\n#\r\n# Name                    Version                   Build  Channel\r\narrow                     0.12.1                   py36_2    conda-forge\r\narrow-cpp                 0.9.0               py36_vc14_7  [vc14]  conda-forge\r\nasn1crypto                0.24.0                   py36_0\r\nastroid                   2.0.4                     <pip>\r\nbackcall                  0.1.0                    py36_0\r\nbinaryornot               0.4.4                      py_1    conda-forge\r\nbleach                    2.1.3                    py36_0\r\nblinker                   1.4                      py36_0\r\nbokeh                     0.12.15                  py36_0\r\nboost-cpp                 1.66.0                   vc14_1  [vc14]  conda-forge\r\nca-certificates           2018.8.24            ha4d7672_0    conda-forge\r\ncertifi                   2018.8.24                py36_0    conda-forge\r\ncffi                      1.11.5           py36h945400d_0\r\nchardet                   3.0.4            py36h420ce6e_1\r\nchardet                   3.0.4                     <pip>\r\nclick                     6.7              py36hec8c647_0\r\ncloudpickle               0.5.2                    py36_1\r\ncolorama                  0.3.9            py36h029ae33_0\r\ncookiecutter              1.6.0                    py36_0    conda-forge\r\ncryptography              2.2.2            py36hfa6e2cd_0\r\ncycler                    0.10.0           py36h009560c_0\r\ncytoolz                   0.9.0.1          py36hfa6e2cd_0\r\ndask                      0.17.2                   py36_0\r\ndask-core                 0.17.2                   py36_0\r\ndatashape                 0.5.4            py36h5770b85_0\r\ndecorator                 4.3.0                    py36_0\r\ndistributed               1.21.6                   py36_0\r\nentrypoints               0.2.3            py36hfd66bb0_2\r\net_xmlfile                1.0.1            py36h3d2d736_0\r\nfeather-format            0.4.0               py36_vc14_2  [vc14]  conda-forge\r\nfreetype                  2.8.1                    vc14_0  [vc14]  conda-forge\r\nfuture                    0.16.0                   py36_2    conda-forge\r\ngitdb2                    2.0.3                     <pip>\r\nGitPython                 2.1.9                     <pip>\r\ngraphviz                  2.38.0                        4    anaconda\r\nheapdict                  1.0.0                    py36_2\r\nhtml5lib                  1.0.1            py36h047fa9f_0\r\nicc_rt                    2017.0.4             h97af966_0\r\nicu                       58.2                     vc14_0  [vc14]  conda-forge\r\nidna                      2.6              py36h148d497_1\r\nidna                      2.6                       <pip>\r\nintel-openmp              2018.0.0                      8\r\nipykernel                 4.8.2                    py36_0\r\nipython                   6.3.1                    py36_0\r\nipython_genutils          0.2.0            py36h3c5d0ee_0\r\nipywidgets                7.2.1                    py36_0\r\nisort                     4.3.4                     <pip>\r\njdcal                     1.4                      py36_0\r\njedi                      0.12.0                   py36_1\r\njinja2                    2.10             py36h292fed1_0\r\njinja2-time               0.2.0                      py_2    conda-forge\r\njpeg                      9b                       vc14_2  [vc14]  conda-forge\r\njsonschema                2.6.0            py36h7636477_0\r\njupyter                   1.0.0                    py36_4\r\njupyter_client            5.2.3                    py36_0\r\njupyter_console           5.2.0            py36h6d89b47_1\r\njupyter_core              4.4.0            py36h56e9d50_0\r\njupyterthemes             0.19.1                    <pip>\r\nkaggle                    1.3.8                     <pip>\r\nkiwisolver                1.0.1            py36h12c3424_0\r\nlazy-object-proxy         1.3.1                     <pip>\r\nlesscpy                   0.13.0                    <pip>\r\nlibpng                    1.6.34                   vc14_0  [vc14]  conda-forge\r\nlibsodium                 1.0.16                   vc14_0  [vc14]  conda-forge\r\nlibtiff                   4.0.8           vc14h04e2a1e_10  [vc14]  anaconda\r\nlifelines                 0.14.1                    <pip>\r\nllvmlite                  0.22.0           py36ha794a7c_0\r\nlocket                    0.2.0            py36hfed976d_1\r\nlxml                      4.2.1                     <pip>\r\nm2w64-gcc-libgfortran     5.3.0                         6\r\nm2w64-gcc-libs            5.3.0                         7\r\nm2w64-gcc-libs-core       5.3.0                         7\r\nm2w64-gmp                 6.1.0                         2\r\nm2w64-libwinpthread-git   5.0.0.4634.697f757               2\r\nmarkdown                  2.6.11                     py_0    conda-forge\r\nmarkupsafe                1.0              py36h0e26971_1\r\nmatplotlib                2.2.2                    py36_1    conda-forge\r\nmccabe                    0.6.1                     <pip>\r\nmissingno                 0.4.0                      py_0    conda-forge\r\nmistune                   0.8.3            py36hfa6e2cd_1\r\nmkl                       2018.0.2                      1\r\nmkl_fft                   1.0.1            py36h452e1ab_0\r\nmkl_random                1.0.1            py36h9258bd6_0\r\nmsgpack-python            0.5.6            py36he980bc4_0\r\nmsys2-conda-epoch         20160418                      1\r\nmultipledispatch          0.5.0                    py36_0\r\nnbconvert                 5.3.1            py36h8dc0fde_0\r\nnbdime                    0.4.1                     <pip>\r\nnbformat                  4.4.0            py36h3a5bc1b_0\r\nnetworkx                  2.1                      py36_0\r\nnotebook                  5.4.1                    py36_0\r\nnumba                     0.37.0          np114py36hea3a760_0\r\nnumpy                     1.14.2           py36h5c71026_1\r\noauthlib                  2.1.0                    py36_0\r\nodo                       0.5.1            py36h7560279_0\r\nolefile                   0.45.1                   py36_0\r\nopenpyxl                  2.5.3                    py36_0\r\nopenssl                   1.0.2p            hfa6e2cd_1000    conda-forge\r\npackaging                 17.1                     py36_0\r\npandas                    0.22.0           py36h6538335_0\r\npandas-datareader         0.6.0                     <pip>\r\npandoc                    1.19.2.1             hb2460c7_1    anaconda\r\npandocfilters             1.4.2            py36h3ef6317_1\r\nparquet-cpp               1.4.0                    vc14_0  [vc14]  conda-forge\r\nparso                     0.2.0                    py36_0\r\npartd                     0.3.8            py36hc8e763b_0\r\npatsy                     0.5.0                    py36_0\r\npickleshare               0.7.4            py36h9de030f_0\r\npillow                    4.2.1            py36hdb25ab2_0    anaconda\r\npip                       18.0                      <pip>\r\npip                       9.0.3                    py36_0\r\nplotly                    2.5.1                    py36_0\r\nply                       3.11                      <pip>\r\npoyo                      0.4.1                      py_1    conda-forge\r\nprompt_toolkit            1.0.15           py36h60b8f86_0\r\npsutil                    5.4.5            py36hfa6e2cd_0\r\nptvsd                     4.1.3                     <pip>\r\npweave                    0.30.2                   py36_0    conda-forge\r\npyarrow                   0.9.0               py36_vc14_1  [vc14]  conda-forge\r\npycparser                 2.18             py36hd053e01_1\r\npygments                  2.2.0            py36hb010967_0\r\npyjwt                     1.6.4                    py36_0\r\npylint                    2.1.1                     <pip>\r\npyopenssl                 17.5.0           py36h5b7d817_0\r\npyparsing                 2.2.0            py36h785a196_1\r\npyqt                      5.6.0                    py36_2\r\npysocks                   1.6.8                    py36_0\r\npython                    3.6.5                h0c2934d_0\r\npython-dateutil           2.7.2                    py36_0\r\npytz                      2018.4                   py36_0\r\npywinpty                  0.5.1                    py36_0\r\npyyaml                    3.12             py36h1d1928f_1\r\npyzmq                     17.0.0           py36hfa6e2cd_1\r\nqt                        5.6.2                    vc14_1  [vc14]  conda-forge\r\nqtconsole                 4.3.1            py36h99a29a9_0\r\nregex                     2018.02.21       py36hfa6e2cd_0\r\nrequests                  2.18.4                    <pip>\r\nrequests                  2.18.4           py36h4371aae_1\r\nrequests-file             1.4.3                     <pip>\r\nrequests-ftp              0.3.1                     <pip>\r\nrequests-oauthlib         0.8.0                    py36_1\r\nscikit-learn              0.19.1           py36h53aea1b_0\r\nscipy                     1.0.1            py36hce232c7_0\r\nseaborn                   0.8.1            py36h9b69545_0\r\nselenium                  3.11.0                   py36_0\r\nsend2trash                1.5.0                    py36_0\r\nsetuptools                39.0.1                   py36_0\r\nsimplegeneric             0.8.1                    py36_2\r\nsimplejson                3.15.0           py36hfa6e2cd_0\r\nsip                       4.19.8           py36h6538335_0\r\nsix                       1.11.0           py36h4db2310_1\r\nsmmap2                    2.0.3                     <pip>\r\nsnappy                    1.1.7                    vc14_1  [vc14]  conda-forge\r\nsortedcontainers          1.5.10                   py36_0\r\nsqlite                    3.22.0                   vc14_0  [vc14]  conda-forge\r\nstatsmodels               0.8.0            py36h6189b4c_0\r\ntblib                     1.3.2            py36h30f5020_0\r\nterminado                 0.8.1                    py36_1\r\ntestpath                  0.3.1            py36h2698cfe_0\r\ntk                        8.6.7            vc14hb68737d_1  [vc14]  anaconda\r\ntoolz                     0.9.0                    py36_0\r\ntornado                   5.0.2                    py36_0\r\ntraitlets                 4.3.2            py36h096827d_0\r\ntwython                   3.7.0                    py36_0\r\ntyped-ast                 1.1.0                     <pip>\r\nurllib3                   1.22             py36h276f60a_0\r\nurllib3                   1.22                      <pip>\r\nvc                        14                   h0510ff6_3\r\nvs2015_runtime            14.0.25123                    3\r\nwcwidth                   0.1.7            py36h3d5aa90_0\r\nwebencodings              0.5.1            py36h67c50ae_1\r\nwheel                     0.31.0                   py36_0\r\nwhichcraft                0.4.1                      py_1    conda-forge\r\nwidgetsnbextension        3.2.1                    py36_0\r\nwin_inet_pton             1.0.1            py36he67d7fd_1\r\nwincertstore              0.2              py36h7fe50ca_0\r\nwinpty                    0.4.3                    vc14_2  [vc14]  conda-forge\r\nwrapt                     1.10.11                   <pip>\r\nxlwt                      1.3.0            py36h1a4751e_0\r\nyaml                      0.1.7                    vc14_0  [vc14]  conda-forge\r\nzeromq                    4.2.5                    vc14_1  [vc14]  conda-forge\r\nzict                      0.1.3            py36h2d8e73e_0\r\nzlib                      1.2.11                   vc14_0  [vc14]  conda-forge\r\n\r\n```\r\nPath:\r\n(pandas36) C:\\Users\\Free Agent>path\r\nPATH=C:\\PyAna2\\envs\\pandas36;C:\\PyAna2\\envs\\pandas36\\Library\\mingw-w64\\bin;C:\\PyAna2\\envs\\pandas36\\Library\\usr\\bin;C:\\PyAna2\\envs\\pandas36\\Library\\bin;C:\\PyAna2\\envs\\pandas36\\Scripts;C:\\PyAna2\\envs\\pandas36\\bin;C:\\PyAna2;C:\\PyAna2\\Library\\mingw-w64\\bin;C:\\PyAna2\\Library\\usr\\bin;C:\\PyAna2\\Library\\bin;C:\\PyAna2\\Scripts;C:\\PyAna2\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\HashiCorp\\Vagrant\\bin;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\Git\\cmd;C:\\Users\\Free Agent\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Free Agent\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\Free Agent\\AppData\\Local\\Programs\\MiKTeX 2.9\\miktex\\bin\\x64\\;C:\\Users\\Free Agent\\AppData\\Local\\Microsoft\\WindowsApps;\r\n\r\nSo looks like I should start with the fact there is no settings.json file in .vscode?\r\n\r\nI also don't have \"conda\" on the path, though I do have the conda environments on the path.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/comments/430754123","html_url":"https://github.com/Microsoft/vscode-python/issues/2732#issuecomment-430754123","issue_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/2732","id":430754123,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDc1NDEyMw==","user":{"login":"brettcannon","id":54418,"node_id":"MDQ6VXNlcjU0NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/54418?v=4","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T19:15:47Z","updated_at":"2018-10-17T19:15:47Z","author_association":"MEMBER","body":"@srirambm if you are using conda w/ PowerShell then either don't use conda or switch to Command Prompt. If you're not using conda w/ PowerShel then you have a different issue."}}
{"actor":{"display_login":"brettcannon"}}