-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not start 'hl' process, executable was not found in PATH. #95
Comments
Maybe vscode runs with another user that does not have the same path ?
Le lun. 15 févr. 2021 à 12:17, Joseph Manley <[email protected]> a
écrit :
… OS: Fedora 33
Hi there! 👋
I'm trying to launch Hashlink via vscode launch.json to easily utilize
the debugger, but for whatever reason it doesn't seem to be able to find my
binary.
[image: image]
<https://user-images.githubusercontent.com/21203171/107936359-8dae2880-6f50-11eb-8796-14ec47eaf147.png>
[image: image]
<https://user-images.githubusercontent.com/21203171/107936369-91da4600-6f50-11eb-917b-46800a60823f.png>
[image: image]
<https://user-images.githubusercontent.com/21203171/107936555-cc43e300-6f50-11eb-9242-ec53354d88a1.png>
launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "HashLink",
"request": "launch",
"type": "hl",
"cwd": "${workspaceFolder}",
"preLaunchTask": {
"type": "haxe",
"args": "active configuration"
}
}
]
}
compiler.hxml
-cp src
-lib heaps
-lib hlsdl
-hl hello.hl
-main Main
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#95>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHZXQFR5NT6N5AJUF2KNXLS7D7F3ANCNFSM4XUQFT4Q>
.
|
After installing HashLink from source build,
and I can also compile my Haxe code to HL bytecode and run that with hl, no issues there. None of this works when using VSCode launch.json configuration of the The workaround goes like this:
Once I had all of these set up I was able to run a simple hello world Heaps.io code in VSCode HashLink debugger. |
What's your OS and arch? |
Linux Mint 20.2 x86_64 |
OS: Fedora 33
Hi there! 👋
I'm trying to launch Hashlink via vscode
launch.json
to easily utilize the debugger, but for whatever reason it doesn't seem to be able to find my binary.launch.json
compiler.hxml
The text was updated successfully, but these errors were encountered: