You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS Code+Karate Runner插件无法在Karate Feature文件中添加断点

Karate Feature文件无法添加/移除断点,但Karate Jar调试正常的问题

环境版本

  • VS Code 1.53.2
  • Karate Runner 1.0.8
  • Karate 1.3.0

问题现象

  • 在Karate Feature文件中无法添加或移除断点
  • 通过Karate Jar调试测试可正常执行
  • Java文件能正常添加断点,无异常

当前使用的launch.json配置

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "karate",
            "name": "Karate (debug): Standalone",
            "request": "launch",
            "feature": "${command:karateRunner.getDebugFile}",
            "karateOptions": "",
            "karateCli": "${config:karateRunner.karateJar.commandLineArgs} -d"
        }
    ]
}

已尝试的无效操作

  • 切换VS Code默认Shell为cmd

内容的提问来源于stack exchange,提问作者Sneh Tripathi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.29 20:25:00