![](/img/trans.png)
[英]Is there anyway to debug typescript using the ember cli with vscode?
[英]Configure vscode launch configuration to debug on cloud-run emulator using typescript
我正在嘗試在雲運行模擬器上調試 google-cloud-run 應用程序。 該應用程序是用 typescript 編寫的。 ZI 可以在本地運行和調試應用程序,並在斷點處正確停止。 但是,當我嘗試在雲模擬器上進行調試時,它會忽略或使我的斷點變灰。
我在vscode上嘗試這個,launch.json如下:
"name": "Cloud Run: Run/Debug Locally",
"type": "cloudcode.cloudrun",
"request": "launch",
"build": {
"docker": {
"path": "Dockerfile"
}
},
"image": "get-num-partitions",
"service": {
"name": "get-num-partitions",
"containerPort": 8080,
"resources": {
"limits": {
"memory": "256Mi"
}
}
},
"target": {
"minikube": {}
},
"watch": true,
"debug": {}
}
應用程序再次運行,我可以看到調試器正在附加,它只是不考慮斷點。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.