question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Appengine debug not working for Python

See original GitHub issue

No existing issue found that is related to appengine debugging for Python

  • code-server version: 1.604-vsc1.32.0

  • OS Version: Running on Ubuntu 16.04 compute engine Google Cloud

Description

I am trying to debug Appengine, the debugger connects (I see logging scrolling by), however breakpoints are never hit.

Steps to Reproduce

  1. Create task.json config that can launch appengine with a startup script (based on the instructions in the documentation)
  2. Attach the debugger to the running process and the status bar turns red proving that the debugger is connected
  3. see the appengine server logging scrolling in the debug console window
  4. set a breakpoint anywhere in code hosted by appengine (Python)
  5. breakpoint is never hit

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
kylecarbscommented, Apr 6, 2019

Will definitely fix this. Thanks for the report and detailed info!

0reactions
nhooyrcommented, Jan 29, 2020

Please try with the latest version. If this is still a problem, please feel free to reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Cloud Debugger not working for Python AppEngine ...
The first is that your pip command, running as a normal user, wants to access the system install location and fails without root...
Read more >
Debugging an instance - App Engine - Google Cloud
You can enable debug mode for a VM. In debug mode, principals who have the Owner, Editor, and App Engine Admin roles on...
Read more >
Google App Engine | Python in Visual Studio Code
The Google App Engine launches the application by itself. Hence debugging the application by launching it from within VS Code isn't possible.
Read more >
Python Debug for VSCode on Google App Engine - GitHub
This gist aims to show how to configure debug for VScode and python development on the Google App Engine Standard Environment. This tutorial...
Read more >
Run/Debug Configuration: App Engine Server - PyCharm
When PyCharm stops supporting any of the outdated Python versions, the corresponding Python interpreter is marked as unsupported.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found