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
.