WebStorm(2017.1)不允许我进行代码检查 .

我在WebStorm中运行并配置了一些Mocha测试 . 我正在使用Node 6.10 .

我在代码中放置一个断点,代码执行在那时停止 . 但是:

  • I cannot place my mouse over a variable to see what its value is.

  • I cannot enter anything in the cursor in the debug console window to inspect it (the debug console window does not seem to let me enter anything).

无法检查我的调试代码,我几乎陷入困境,而WebStorm对我来说毫无用处 .

测试运行如下 . 这是控制台中给出的命令:

/ usr / bin / node --debug-brk = 38590 --expose_debug_as = v8debug / home / swe / Repositories / WebClient / code / node_modules / mocha / bin / _mocha --compilers js:babel-core / register --recursive --require ignore-styles --timeout 0 --ui bdd --reporter /home/swe/oliver/WebStorm-171.3780.79/plugins/NodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js / home / swe / Repositories / WebClient / code / tests / utils监听[::]的调试器:3859

我也无法检查变量窗口中的变量 . 它挂在“收集数据”上 . 这就是我所看到的:

enter image description here