【发布时间】:2021-08-03 02:12:48
【问题描述】:
我目前正在使用 Visual Studio Code 在 Haxe with Heaps 中进行编码。后者最近更新到 1.56 版,这给我带来了一个我无法解决的奇怪问题。在更新之前,我可以使用 Hashlink 单击运行和调试以打开我的游戏窗口。更新后,当我运行和调试时,它不再打开窗口,尽管 compile.hxml 和 launch.json 与以前完全相同:
编译.hxml:
-cp src
-lib heaps
-lib hlsdl
-hl main.hl
-main Main
.json
"version": "0.2.0",
"configurations": [
{
"name": "HashLink (launch)",
"request": "launch",
"type": "hl",
"cwd": "${workspaceFolder}",
"preLaunchTask": {
"type": "haxe",
"args": "active configuration"
}
},
{
"name": "HashLink (attach)",
"request": "attach",
"port": 6112,
"type": "hl",
"cwd": "${workspaceFolder}",
"preLaunchTask": {
"type": "haxe",
"args": "active configuration"
}
}
]
有人遇到过类似的问题吗?
【问题讨论】:
标签: visual-studio-code haxe hashlink