You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I am trying to run the program with a basic hello world example but I cannot get the extension to run output:
hf.erl:
% hello world program
-module(helloworld).
-export([start/0]).
start() ->io:fwrite("Hello, world!\n").
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": "Run erlang program",
"type": "erlang",
"request": "launch",
"cwd": "${workspaceRoot}",
"preLaunchTask": "rebar3 compile"
}
]
}
Tasks.json:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558// for the documentation about the tasks.json format"version": "2.0.0",
"tasks": [
{
"label": "rebar3 compile",
"type": "shell",
"command": "rebar3 compile",
"group": {
"kind" :"build",
"isDefault": true
},
"problemMatcher": "$erlang"
}
]
}
I have installed erlang and rebar with chocolatey:
choco install rebar3
Error:
Error: ENOENT: no such file or directory, scandir 'D:\Repos\BME\7_Felev\Dekla\erlang\_build' at Object.readdirSync (fs.js:854:3) at Object.fs.readdirSync (electron/js2c/asar.js:621:39) at ErlangShellForDebugging.findEbinDirs (c:\Users\hamba\.vscode\extensions\pgourlain.erlang-0.6.5\out\lib\ErlangShellDebugger.js:86:12) at ErlangShellForDebugging.createArgsFilev1 (c:\Users\hamba\.vscode\extensions\pgourlain.erlang-0.6.5\out\lib\ErlangShellDebugger.js:154:22) at ErlangShellForDebugging.Start (c:\Users\hamba\.vscode\extensions\pgourlain.erlang-0.6.5\out\lib\ErlangShellDebugger.js:45:29) at ErlangDebugSession.configurationDoneRequest (c:\Users\hamba\.vscode\extensions\pgourlain.erlang-0.6.5\out\lib\erlangDebugSession.js:123:26) at ErlangDebugSession.dispatchRequest (c:\Users\hamba\.vscode\extensions\pgourlain.erlang-0.6.5\node_modules\vscode-debugadapter\lib\debugSession.js:403:22) at ErlangDebugSession.dispatchRequest (c:\Users\hamba\.vscode\extensions\pgou...
The text was updated successfully, but these errors were encountered:
Hey,
I am trying to run the program with a basic hello world example but I cannot get the extension to run output:
hf.erl:
Launch.json:
Tasks.json:
I have installed erlang and rebar with chocolatey:
Error:
The text was updated successfully, but these errors were encountered: