无法在 Visual Studio Code、Windows 10 中启动空手道调试服务器 [英] Unable to start Karate debug server in Visual Studio Code, Windows 10

查看:35
本文介绍了无法在 Visual Studio Code、Windows 10 中启动空手道调试服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 Karate 与 Visual Studio Code 结合使用.我已按照说明在 VSC for Windows 上使用机器人和空手道 Zip 设置空手道.当我直接运行 Karate 时,我可以运行 zip 中的示例.但是当我尝试使用 VS Code 和独立 jar 进行调试时,我不断收到服务器无法启动的错误消息,因为它超时了.我尝试清理 VS Code 并仅安装空手道插件,Java JRE 1.8 版本,禁用了 Windows 10 防火墙.我附上了显示调试服务器超时的错误屏幕截图.我已经尝试过空手道版本 0.9.6 和 0.9.9RC3 都遇到同样的问题.

I am trying to use Karate with Visual Studio Code. I have followed the instructions to set up Karate on VSC for Windows, with the robot and Karate Zip. I am able to run the examples in the zip when I run Karate directly. But when I try to debug using VS Code and the standalone jar I keep getting the error that the server cannot start because it times out. I have tried cleaning up VS Code and installing Karate plug in only, Java JRE 1.8 version, disabled the windows 10 firewall. I attach the error screenshots showing debug server timeout. I have tried Karate versions 0.9.6 and 0.9.9RC3 both with the same problem.

[enter image description here][1]
[enter image description here][2]
[enter image description here][3]

[1]: https://i.stack.imgur.com/tTEEM.png
[2]: https://i.stack.imgur.com/bULiN.png
[3]: https://i.stack.imgur.com/69T9T.png

推荐答案

karate.jar 无法创建 target\karate-debug-port.txt 文件或 vscode 扩展程序未能检测到它

either karate.jar is failing to create target\karate-debug-port.txt file or vscode extension is failing to detect it

检查文件是否已创建和/或可能阻止创建此文件的原因

check if file was created and/or what may be preventing this file to be created

这篇关于无法在 Visual Studio Code、Windows 10 中启动空手道调试服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆