Hej all,
I’m sorry I have looked at every thread talking about this subject but nothing worked for me.
I’m on Linux, last VSCode, last VSHaxe extension and HashLink debugger and when I hit F5 (debug) or CTRL+F5 (run), HashLink VM opens, I even get breakpoints working (when debugging) but I can’t get traces in “real-time”.
Traces only shows when I close the hashLink VM (when I close my app) in the Debug Console in VSCode.
When I launch my HL App from the normal terminal, I get traces in real-time, but could not get it working in real-time in VSCode.
Does anyone encounter this thing please ?
(I also tried to build HashLink Debugger form sourcdes) but there is a lot of errors due to different libraries version I suppose…)
Here is my lauch.json :
{
"version": "0.2.0",
"configurations": [
{
"name": "HashLink",
"request": "launch",
"type": "hl",
"cwd": "${workspaceFolder}",
"preLaunchTask": {
"type": "haxe",
"args": "active configuration"
}
},
{
"type": "chrome",
"request": "launch",
"runtimeExecutable": "/usr/bin/brave-browser-stable",
"runtimeArgs": ["--disable-web-security"],
"name": "Brave",
"url": "file://${workspaceFolder}/index.html",
"webRoot": "${workspaceFolder}",
"preLaunchTask": {
"type" : "haxe",
"args" : "active configuration"
}
}
]
}
And the tasks.json :
{
"version": "2.0.0",
"tasks": [
{
"type": "haxe",
"args": "active configuration",
"problemMatcher": [
"$haxe-absolute",
"$haxe",
"$haxe-error",
"$haxe-trace"
],
"group": "build",
"label": "haxe: active configuration"
}
]
}