2017-10-21-how-to-connect-and-debug-elixir-or-phoenix-app-at-heroku.md How to connect and debug Elixir or Phoenix App at Heroku? Heroku has a great feature called heroku ps:exec which allows you to connect to running nodes. You can use this command to connect your elixir nodes easily. And debug your nodes like in your network. Step 1 Let's start with Procfile To run a named app at heroku your proc
The basic steps of tracing for function calls are on a non-live node: > dbg:start(). % start dbg > dbg:tracer(). % start a simple tracer process > dbg:tp(Module, Function, Arity, []). % specify MFA you are interested in > dbg:p(all, c). % trace calls (c) of that MFA for all processes. ... trace here > dbg:stop_clear(). % stop tracer and clear effect of tp and p calls. You can trace for multiple fu
This post describes a few useful techniques to debug running Erlang / Elixir applications. It is meant to be a cheatsheet of things you can do to inspect and alter the state of an application without requiring the installation of packages. For any of the code snippets below, autoverse refers to my local hostname, which itself refers to one of my favourite science fiction novels, “Permutation City”
Elixir v1.5 includes new features, enhancements, and bug fixes. While Elixir v1.4 focused on tools for concurrency and scalability, Elixir v1.5 brings many improvements to the developer experience and quality of life. As we will see, many of those are powered by the latest Erlang/OTP 20. This is also the last Elixir release that supports Erlang/OTP 18. Note: this announcement contains asciinema sn
I recently released an early alpha of ElixirLS, an IDE “smartness” server for Elixir. It powers an associated VS Code plugin and includes debugger integration. More on that here. Debugging in Elixir or Erlang is a little different than in other languages, so there are a few things you should know. You need Erlang >= OTP 19As mentioned in this post, you’re going to need Erlang version OTP 19 or hig
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く