Samples for VS Code Python extension
donjayamanne / vscode-python-samples Goto Github PK
View Code? Open in Web Editor NEWSamples for VS Code Python extension
License: MIT License
Samples for VS Code Python extension
License: MIT License
Nothing works for me. :/ Even in the simpliest example - remote-debugging-locally
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
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:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.