Giter VIP home page Giter VIP logo

vscode-python-samples's Introduction

vscode-python-samples

Samples for VS Code Python extension

vscode-python-samples's People

Contributors

donjayamanne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-python-samples's Issues

Not able to run samples

Nothing works for me. :/ Even in the simpliest example - remote-debugging-locally

image

image

I can see the script running and waiting in the terminal, but Debug (Attach) doesn't work...

Microsoft Windows [Version 10.0.16299.847]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\projects\py\vscode-python-samples\remote-debugging-locally>C:/Users/ademyankov/AppData/Local/Programs/Python/Python36-32/python.exe c:/projects/py/vscode-python-samples/remote-debugging-locally/sample.py
.
Waiting to attach

netstat doesn't show anything for localhost:3000

Troubleshooting Python debugging on a Unknown Source

Hi there! Thank you for creating this project. I am using it as a starting point to explore learning and debugging Python in VS Code.

One issue I've encountered is that I cannot get it to properly debug in the VS Code IDE. If I stick with the strict ptvsd == 3.0.0, I can get it to partially debug. It will pause on the breakpoints, but nothing will be highlighted in the IDE (a la a typical debugging experience with VS Code) and it will say that the source file is an "Unknown Source"

If you're interested, I'd love to know if you have any possible solution to that. And if you're not, that's fine too - I know open source examples can be a labor of love ๐Ÿ˜€

I've created a branch that reproduces this in a slightly modified version of your example - using docker-compose to load the Dockerfile, etc at https://github.com/TheRobBrennan/demo-python-docker-vscode-debug/tree/troubleshooting-vscode-debugger

Here is what I'm seeing while running the latest version of VS Code:
00a
00b

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.