sparse-intern-71089
09/16/2020, 7:32 PMaverage-school-38756
09/16/2020, 9:01 PM.vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Attach using listen",
"type": "python",
"request": "attach",
"listen": {
"host": "127.0.0.1",
"port": 5678
}
}
]
}
and in `___main___.py`:
import debugpy
debugpy.connect(('localhost', 5678))
With this method, you start the debugger before running pulumi up
.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by