python - Azure 中 Bottle Py 模板中的调试 500 内部错误

标签 python azure bottle azure-web-app-service

我使用 Visual Studio python 工具、 Bottle py 模板创建了一个 Bottle Py 应用程序,并将其部署到 azure。部署成功并且网站已托管。但是,当调用休息网址时,我收到 500 内部错误。如何调试这个?

最佳答案

如果您已发布到 Azure 网站,则可以使用 PTVS 2.1 Beta 2 中添加的 Azure 网站远程调试功能。您将能够设置断点并调试在 Azure 上运行的网站。文档在这里: http://pytools.codeplex.com/wikipage?title=Features%20Azure%20Remote%20Debugging

关于python - Azure 中 Bottle Py 模板中的调试 500 内部错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24684775/

相关文章:

Python 2.7.9 Mac OS 10.10.3 消息 "setCanCycle: is deprecated. Please use setCollectionBehavior instead"

python - 处理服务器端事件断开连接

python - 如何将正则表达式转换为 NFA?

python - 在 subprocess.check_call 中捕获 stderr 而不使用 subprocess.PIPE

c# - 将 Azure 托管标识用于应用服务而不授权新 SDK

azure - 将 Azure 服务角色分配为服务主体

sql - 如何使用数据工厂从表缓存中删除数据?

python - 瓶内IP过滤

python Bottle集成测试

python - pandas dataframe resample 聚合函数使用具有自定义函数的多列?