Here is my solution after figuring out.
- change
launch.json
to
{
"version": "0.2.0",
"configurations": [
{
"name": "Deno",
"type": "pwa-node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "deno",
"runtimeArgs": [
"run",
"-A",
"--inspect-brk",
"--unstable",
"index.ts"
],
"attachSimplePort": 9229,
"outputCapture": "std"
}
]
}
- Migrate my Deno version to 1.7
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…