-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .vscode files to instruct VSCode how to run ejabberd
- Loading branch information
Showing
4 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"erlang-ls.erlang-ls" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Relive", | ||
"type": "erlang", | ||
"request": "launch", | ||
"runinterminal": [ | ||
".vscode/relive.sh" | ||
], | ||
"projectnode": "ejabberd@localhost", | ||
"cookie": "COOKIE", | ||
"timeout": 300, | ||
"cwd": "${workspaceRoot}" | ||
}, | ||
{ | ||
"name": "Relive (alternate)", | ||
"type": "erlang", | ||
"request": "launch", | ||
"runinterminal": [ | ||
"./rebar3", "shell", | ||
"--apps", "ejabberd", | ||
"--config", "rel/relive.config", | ||
"--script", "rel/relive.escript", | ||
"--name", "ejabberd@localhost", | ||
"--setcookie", "COOKIE" | ||
], | ||
"projectnode": "ejabberd@localhost", | ||
"cookie": "COOKIE", | ||
"timeout": 300, | ||
"cwd": "${workspaceRoot}" | ||
}, | ||
{ | ||
"name": "Attach", | ||
"type": "erlang", | ||
"request": "attach", | ||
"runinterminal": [ | ||
"./rebar3", "shell", | ||
"--sname", "clean@localhost", | ||
"--setcookie", "COOKIE", | ||
"--start-clean" | ||
], | ||
"projectnode": "ejabberd@localhost", | ||
"cookie": "COOKIE", | ||
"timeout": 300, | ||
"cwd": "${workspaceRoot}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[ ! -f Makefile ] \ | ||
&& ./autogen.sh \ | ||
&& ./configure --with-rebar=./rebar3 \ | ||
&& make deps | ||
|
||
make relive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"editor.tabSize": 8, | ||
"remote.portsAttributes": { | ||
"1883": {"label": "MQTT", "onAutoForward": "silent"}, | ||
"4369": {"label": "EPMD", "onAutoForward": "silent"}, | ||
"5222": {"label": "XMPP C2S", "onAutoForward": "silent"}, | ||
"5223": {"label": "XMPP C2S (legacy)", "onAutoForward": "silent"}, | ||
"5269": {"label": "XMPP S2S", "onAutoForward": "silent"}, | ||
"5280": {"label": "HTTP", "onAutoForward": "silent"}, | ||
"5443": {"label": "HTTPS", "onAutoForward": "silent"}, | ||
"7777": {"label": "XMPP SOCKS5 (proxy65)", "onAutoForward": "silent"} | ||
} | ||
} |