【发布时间】:2020-10-01 12:08:55
【问题描述】:
我正在尝试在 vscode 中调试测试。 开玩笑是跑步者。 这是我的启动配置。
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
"args": ["--runInBand"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"sourceMaps": true }
]
}
当我启动调试器时使用它,它会在断点处停止,但没有变量显示在局部变量窗格中。 image
【问题讨论】: