-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I'm trying out the debugger after a short break from using Haxe/Hashlink and it seems to not work anymore. When I try to debug, it builds using the build.hxml file but doesn't start the actual program for debugging. It runs fine if I just run the .hl file from the command line, tho.
My build.hxml:
-cp src
-m Main
-lib heaps
-lib hlsdl
--hl bin/app.hl
--debug
My src/Main.hx:
class Main extends hxd.App {
public static function main () {
new Main();
}
}
My .vscode/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": [
{
"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"
}
}
]
}
OS is Windows 10, Haxe version 4.2.4, Hashlink is the latest from github and my vscode version is 1.62.3.
Metadata
Metadata
Assignees
Labels
No labels