{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3370","repository_url":"https://api.github.com/repos/Microsoft/vscode-python","labels_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3370/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3370/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3370/events","html_url":"https://github.com/Microsoft/vscode-python/issues/3370","id":381295104,"node_id":"MDU6SXNzdWUzODEyOTUxMDQ=","number":3370,"title":"Cannot debug code in VS Code, but can in other IDEs","user":{"login":"roblourens","id":323878,"node_id":"MDQ6VXNlcjMyMzg3OA==","avatar_url":"https://avatars3.githubusercontent.com/u/323878?v=4","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false},"labels":[{"id":717138119,"node_id":"MDU6TGFiZWw3MTcxMzgxMTk=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/info%20needed","name":"info needed","color":"00FF00","default":false},{"id":1093780860,"node_id":"MDU6TGFiZWwxMDkzNzgwODYw","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/triage","name":"triage","color":"ed38c0","default":false}],"state":"closed","locked":false,"assignee":{"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},"assignees":[{"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}],"milestone":null,"comments":4,"created_at":"2018-11-15T18:56:02Z","updated_at":"2019-01-03T21:31:56Z","closed_at":"2019-01-03T21:31:56Z","author_association":"MEMBER","body":"_From @manjchana on November 15, 2018 10:50_\r\n\r\n\r\nIssue Type: <b>Bug</b>\r\n\r\nHi,\r\n\r\nI have created a test script simply of one command - \"import getpass\". I cannot run and debug this script in VS Code, it fails when trying to import certain any module. \r\n\r\nI have disabled extensions, reinstalled VS Code, reinstalled extensions, tried the portable version of VS Code, but still no luck. The code will not run in VS code, but will run in other applications such as Python's IDLE, Notepad++ and PythonWin.\r\n\r\nThe error encountered is listed below:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"c:\\Users\\mchana\\.vscode\\extensions\\ms-python.python-2018.10.1\\pythonFiles\\experimental\\ptvsd_launcher.py\", line 38, in <module>\r\n    main(sys.argv)\r\n  File \"c:\\Users\\mchana\\.vscode\\extensions\\ms-python.python-2018.10.1\\pythonFiles\\experimental\\ptvsd\\ptvsd\\__main__.py\", line 265, in main\r\n    wait=args.wait)\r\n  File \"c:\\Users\\mchana\\.vscode\\extensions\\ms-python.python-2018.10.1\\pythonFiles\\experimental\\ptvsd\\ptvsd\\__main__.py\", line 258, in handle_args\r\n    debug_main(addr, name, kind, *extra, **kwargs)\r\n  File \"c:\\Users\\mchana\\.vscode\\extensions\\ms-python.python-2018.10.1\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_local.py\", line 45, in debug_main\r\n    run_file(address, name, *extra, **kwargs)\r\n  File \"c:\\Users\\mchana\\.vscode\\extensions\\ms-python.python-2018.10.1\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_local.py\", line 79, in run_file\r\n    run(argv, addr, **kwargs)\r\n  File \"c:\\Users\\mchana\\.vscode\\extensions\\ms-python.python-2018.10.1\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_local.py\", line 140, in _run\r\n    _pydevd.main()\r\n  File \"c:\\Users\\mchana\\.vscode\\extensions\\ms-python.python-2018.10.1\\pythonFiles\\experimental\\ptvsd\\ptvsd\\_vendored\\pydevd\\pydevd.py\", line 1936, in main\r\n    if setup['cmd-line']:\r\nTypeError: 'NoneType' object is not callable\r\n```\r\n\r\nVS Code version: Code 1.29.0 (5f24c93878bd4bc645a4a17c620e2487b11005f9, 2018-11-12T07:47:15.448Z)\r\nOS version: Windows_NT x64 6.1.7601\r\n\r\n<details>\r\n<summary>System Info</summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i7-4712HQ CPU @ 2.30GHz (8 x 2294)|\r\n|GPU Status|2d_canvas: enabled<br>checker_imaging: disabled_off<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>native_gpu_memory_buffers: disabled_software<br>rasterization: enabled<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled|\r\n|Memory (System)|15.91GB (10.14GB free)|\r\n|Process Argv||\r\n|Screen Reader|no|\r\n|VM|0%|\r\n\r\n</details><details><summary>Extensions (1)</summary>\r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\npython|ms-|2018.10.1\r\n\r\n\r\n</details>\r\n<!-- generated by issue reporter -->\r\n\r\n_Copied from original issue: Microsoft/vscode#63207_"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/comments/451284030","html_url":"https://github.com/Microsoft/vscode-python/issues/3370#issuecomment-451284030","issue_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3370","id":451284030,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTI4NDAzMA==","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":"2019-01-03T21:31:56Z","updated_at":"2019-01-03T21:31:56Z","author_association":"MEMBER","body":"Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.\r\n\r\n@ryosga as you didn't provide a link to the code you changed I don't know exactly what you did (we vendor a copy of pydevd in ptvsd and those line number don't make sense). Feel free to open an issue at Microsoft/ptvsd ."}}
{"actor":{"display_login":"brettcannon"}}