Remote debug cursor missing in VSCode
See original GitHub issueEnvironment data
VS Code version: 1.20.1 (1.20.1) Python Extension version: 2018.1.0 Python Version: 3.6.4 MacOS, 3.6.4 FreeBSD (both ptvsd 3.0.0) OS and version: MacOS 10.13.3, Remote FreeBSD 11.1
Actual behavior
I can’t see stepper cursor for debugger, where it is on the line
Configuration is correct, but I guess it might have something to do with „Unknown source“ in call stack, but I have correct directories there.
{
"name": "BSDAdmin: Remote",
"type": "python",
"request": "attach",
"localRoot": "${workspaceFolder}",
"remoteRoot": "/home/djmanas/python",
"port": 4000,
"secret": "my_secret",
"host": "127.0.0.1",
}
Expected behavior
I guess it should show me hilighted line, on which the debugger is
Steps to reproduce:
- Launch any script on remote server via remote debugging,
- It gets attached, but cursor is nowhere
Logs
Output from Python
output panel
Nothing.
Output from Console window
(Help->Developer Tools menu)
Nothing.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13
Top Results From Across the Web
How to fix mouse cursor disappearing in Visual Studio ...
The Solution. Thankfully the solution is quick and simple: Open Control Panel | Appearance and Personalization | Personalization | Change mouse ...
Read more >Debugging in Visual Studio Code
To run or debug a simple app in VS Code, select Run and Debug on the Debug start view or press F5 and...
Read more >Debug code with force run to cursor - Visual Studio Blog
To run directly to your cursor location, in source code or the Call Stack window, select the line you want to break at,...
Read more >VS Code tips — Debug: Run to cursor - YouTube
Today's VS Code command: Debug : Run to cursorContinue program execution to the current cursor position while debugging.Use it to jump to a ......
Read more >Visual Studio Code Debugger not launching - Stack Overflow
This may be caused by a faulty installation of the VS Code C/C++ extension. When launching VS Code, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
According to the other issue #819, I had tested this one with the experimental python debugger.
Used:
ptvsd 4.1.1a5
Configuration,${workspace} didn’t work, since I use workspace with more folders and it launched it only localy, dunno if it is another bug or not, but when I switched it with local path it started to work:
Result:
Thank you guys.
It should be fixed, please test the latest development version of the extension. Instructions can be found here https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md#development-build
I’m closing this issue has I believe it has been resolved in the latest development version. Please verify, and if it hasn’t been resolved please re-open the issue or feel free to comment on this issue (& i’ll re-open it).