KronicDeth / intellij-elixir

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.83k stars 153 forks source link

Live reload when debugging #1867

Open joxzaren opened 3 years ago

joxzaren commented 3 years ago

Hi,

I'm using 11.8.1 of the plugin with Elixir version 1.10.4 and Erlang 23.0.3. I'm following along in this tutorial, https://pragmaticstudio.com/tutorials/getting-started-with-phoenix-liveview, to learn more about Phoenix LiveView. Everything works fine, and I can fire up the app with mix pix.server from the run configuration. Debugging also works.

However, when I try to do a change in a source file I get the following error. Is this anything that you've seen or know about?


[debug] Live reload: lib/live_view_studio_web/live/light_live.ex Compiling 1 file (.ex)

== Compilation error in file lib/live_view_studio_web/live/light_live.ex == ** (CompileError) lib/live_view_studio_web/live/light_live.ex:2: module LiveViewStudioWeb is not loaded and could not be found (elixir 1.10.4) expanding macro: Kernel.use/2 lib/live_view_studio_web/live/light_live.ex:2: LiveViewStudioWeb.LightLive (module) (elixir 1.10.4) lib/kernel/parallel_compiler.ex:304: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/7 Compiling 1 file (.ex)

KronicDeth commented 3 years ago

I'm not sure why the debugger would change this behavior. This works when not using the debugger?

joxzaren commented 3 years ago

Yeah, it works perfectly when using the same run configuration and selecting run instead of debug.

This is start-up log when using the debugger (which is different from when using it without the debugger),


/usr/local/Cellar/erlang/23.0.3/lib/erlang/bin/erl -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib -name debugged552b68e9-0279-4dce-aac5-0b4f24e6da77@127.0.0.1 -setcookie 552b68e9-0279-4dce-aac5-0b4f24e6da77 -eval application:ensure_all_started(elixir) -eval 'Elixir.Code':require_file(<<\"/private/var/folders/tc/9pc4vsx12mg52cc14vx1ksfc0000gn/T/intellij_elixir1/debugger/lib/intellij_elixir/debugger/server.ex\">>) -eval 'Elixir.Code':require_file(<<\"/private/var/folders/tc/9pc4vsx12mg52cc14vx1ksfc0000gn/T/intellij_elixir1/debugger/lib/intellij_elixir/debugged.ex\">>) -eval 'Elixir.Code':require_file(<<\"/private/var/folders/tc/9pc4vsx12mg52cc14vx1ksfc0000gn/T/intellij_elixir1/debugger/lib/mix/tasks/intellij_elixir/debug.ex\">>) -pa /usr/local/Cellar/elixir/1.10.4/lib/logger/ebin -pa /usr/local/Cellar/elixir/1.10.4/lib/elixir/ebin -pa /usr/local/Cellar/elixir/1.10.4/lib/ex_unit/ebin -pa /usr/local/Cellar/elixir/1.10.4/lib/mix/ebin -pa /usr/local/Cellar/elixir/1.10.4/lib/eex/ebin -pa /usr/local/Cellar/elixir/1.10.4/lib/iex/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/os_mon-2.5.2/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/diameter-2.2.3/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/tftp-1.0.2/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/ssl-10.0/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/snmp-5.6/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/eunit-2.5/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/runtime_tools-1.15/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/wx-1.9.1/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/mnesia-4.17/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/erl_interface-4.0/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/ssh-4.10/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/crypto-4.7/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/public_key-1.8/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/edoc-0.12/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/megaco-3.19.1/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/erl_docgen-1.0/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/inets-7.2/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/compiler-7.6.2/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/ftp-1.0.4/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/hipe-4.0/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/parsetools-2.2/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/et-1.6.4/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/debugger-5.0/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/tools-3.4/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/kernel-7.0/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/reltool-0.8/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/eldap-1.2.8/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/dialyzer-4.2/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/asn1-5.0.13/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/observer-2.9.4/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/xmerl-1.3.25/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/syntax_tools-2.3/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/stdlib-3.13/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/erts-11.0.3/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/common_test-1.19/ebin -pa /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/sasl-4.0/ebin -noshell -s elixir start_cli -elixir ansi_enabled true -extra /usr/local/Cellar/elixir/1.10.4/bin/mix do intellij_elixir.debug, phx.server Waiting for debugger to attach... Interpreting modules under /Users/pweinberger/.mix/archives/hex-0.20.5/hex-0.20.5/ebin... ...completed Interpreting modules under /Users/pweinberger/.mix/archives/phx_new-1.5.7/phx_new-1.5.7/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/connection/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/cowboy/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/cowboy_telemetry/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/cowlib/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/db_connection/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/decimal/ebin... Decimal.Context in 7746μs Decimal.Error in 2373μs Decimal.Macros in 1437μs ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/ecto/ebin... Jason.Encoder.Ecto.Association.NotLoaded in 2117μs Jason.Encoder.Ecto.Schema.Metadata in 1805μs ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/ecto_sql/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/file_system/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/gettext/ebin... :gettext_po_parser in 7058μs ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/jason/ebin... Jason.Codegen in 3736μs Jason.DecodeError in 6390μs Jason.Decoder.Unescape in 7992μs Jason.Decoder in 115184μs Jason.Encode in 69165μs Jason.EncodeError in 4072μs Jason.Encoder.Any in 3721μs Jason.Encoder.Atom in 1804μs Jason.Encoder.BitString in 1851μs Jason.Encoder.Date in 1814μs Jason.Encoder.DateTime in 1920μs Jason.Encoder.Decimal in 1663μs Jason.Encoder.Float in 1699μs Jason.Encoder.Integer in 1811μs Jason.Encoder.Jason.Fragment in 1605μs Jason.Encoder.List in 1550μs Jason.Encoder.Map in 1879μs Jason.Encoder.NaiveDateTime in 1612μs Jason.Encoder.Time in 1763μs Jason.Encoder in 2630μs Jason.Formatter in 4574μs Jason.Fragment in 1959μs Jason.Helpers in 2347μs Jason in 2786μs ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/live_view_studio/ebin... LiveViewStudio.Application in 1563μs LiveViewStudio.Repo in 4266μs LiveViewStudio in 1152μs LiveViewStudioWeb.Endpoint in 32921μs LiveViewStudioWeb.ErrorHelpers in 2017μs LiveViewStudioWeb.ErrorView in 2166μs LiveViewStudioWeb.Gettext in 4940μs LiveViewStudioWeb.LayoutView in 5409μs LiveViewStudioWeb.LightLive in 2399μs LiveViewStudioWeb.PageLive in 4078μs LiveViewStudioWeb.Router.Helpers in 5708μs LiveViewStudioWeb.Router in 5713μs LiveViewStudioWeb.Telemetry in 2229μs LiveViewStudioWeb.UserSocket in 1589μs LiveViewStudioWeb in 2126μs ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/mime/ebin... MIME.Application in 6604μs MIME in 143209μs ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/phoenix/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/phoenix_ecto/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/phoenix_html/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/phoenix_live_dashboard/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/phoenix_live_reload/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/phoenix_live_view/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/phoenix_pubsub/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/plug/ebin... :plug_multipart in 9466μs ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/plug_cowboy/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/plug_crypto/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/postgrex/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/ranch/ebin... ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/telemetry/ebin... :telemetry in 4203μs :telemetry_app in 1503μs :telemetry_handler_table in 2485μs :telemetry_sup in 1674μs ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/telemetry_metrics/ebin... Telemetry.Metrics.ConsoleReporter in 5737μs Telemetry.Metrics.Counter in 1727μs Telemetry.Metrics.Distribution in 1520μs Telemetry.Metrics.LastValue in 1544μs Telemetry.Metrics.Sum in 1513μs Telemetry.Metrics.Summary in 1666μs Telemetry.Metrics in 7694μs ...completed Interpreting modules under /Users/pweinberger/projects/elixir/live_view_studio/_build/dev/lib/telemetry_poller/ebin... :telemetry_poller in 3928μs :telemetry_poller_app in 1516μs :telemetry_poller_builtin in 1696μs :telemetry_poller_sup in 1405μs ...completed Interpreting modules under /usr/local/Cellar/elixir/1.10.4/lib/eex/ebin... ...skipped Interpreting modules under /usr/local/Cellar/elixir/1.10.4/lib/elixir/ebin... ...skipped Interpreting modules under /usr/local/Cellar/elixir/1.10.4/lib/ex_unit/ebin... ...skipped Interpreting modules under /usr/local/Cellar/elixir/1.10.4/lib/iex/ebin... ...skipped Interpreting modules under /usr/local/Cellar/elixir/1.10.4/lib/logger/ebin... ...skipped Interpreting modules under /usr/local/Cellar/elixir/1.10.4/lib/mix/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib... :asn1_db in 5779μs :asn1ct in 35457μs :asn1ct_check in 95060μs :asn1ct_constructed_ber_bin_v2 in 25882μs :asn1ct_constructed_per in 35808μs :asn1ct_eval_ext in 6567μs :asn1ct_func in 7216μs :asn1ct_gen in 26373μs :asn1ct_gen_ber_bin_v2 in 23600μs :asn1ct_gen_check in 8013μs :asn1ct_gen_jer in 9238μs :asn1ct_gen_per in 8813μs :asn1ct_imm in 42849μs :asn1ct_name in 5936μs :asn1ct_parser2 in 29686μs :asn1ct_pretty_format in 5418μs :asn1ct_rtt in 199180μs :asn1ct_table in 5543μs :asn1ct_tok in 8727μs :asn1ct_value in 10794μs :asn1rt_nif in 7355μs :ct in 10224μs :ct_config in 10765μs :ct_config_plain in 4975μs :ct_config_xml in 4340μs :ct_conn_log_h in 9585μs :ct_cover in 8148μs :ct_default_gl in 4371μs :ct_event in 4557μs :ct_framework in 20658μs :ct_ftp in 6592μs :ct_gen_conn in 8607μs :ct_groups in 11222μs :ct_hooks in 10284μs :ct_hooks_lock in 4480μs :ct_logs in 38804μs :ct_make in 8394μs :ct_master in 14822μs :ct_master_event in 5386μs :ct_master_logs in 10715μs :ct_master_status in 3906μs :ct_netconfc in 25014μs :ct_property_test in 7957μs :ct_release_test in 11500μs :ct_repeat in 6305μs :ct_rpc in 4159μs :ct_run in 41112μs :ct_slave in 6253μs :ct_snmp in 9707μs :ct_ssh in 17397μs :ct_telnet in 22271μs :ct_telnet_client in 8651μs :ct_testspec in 25084μs :ct_util in 13297μs :cth_conn_log in 5151μs :cth_log_redirect in 6527μs :cth_surefire in 7934μs :erl2html2 in 6633μs :test_server in 33550μs :test_server_ctrl in 82814μs :test_server_gl in 9270μs :test_server_io in 10212μs :test_server_node in 14913μs :test_server_sup in 15388μs :unix_telnet in 6781μs :beam_disasm in 22289μs :beam_listing in 8910μs :beam_ssa_lint in 12369μs :beam_ssa_pp in 9777μs :cerl_inline in 27250μs :core_parse in 194486μs :core_pp in 16174μs :core_scan in 15703μs :rec_env in 11832μs :sys_core_fold_lists in 17751μs :sys_core_inline in 11077μs :sys_core_prepare in 10741μs :sys_pre_attributes in 9013μs :v3_kernel_pp in 16726μs :crypto_ec_curves in 21270μs :dialyzer in 15891μs :dialyzer_analysis_callgraph in 13074μs :dialyzer_behaviours in 7017μs :dialyzer_callgraph in 13168μs :dialyzer_cl in 14780μs :dialyzer_cl_parse in 11811μs :dialyzer_clean_core in 8622μs :dialyzer_codeserver in 13740μs :dialyzer_contracts in 20100μs :dialyzer_coordinator in 8670μs :dialyzer_dataflow in 70091μs :dialyzer_dep in 15598μs :dialyzer_explanation in 6864μs :dialyzer_gui_wx in 28921μs :dialyzer_options in 10056μs :dialyzer_plt in 16157μs :dialyzer_race_data_server in 6906μs :dialyzer_races in 33091μs :dialyzer_succ_typings in 11017μs :dialyzer_timing in 5695μs :dialyzer_typesig in 54652μs :dialyzer_utils in 16542μs :dialyzer_worker in 6023μs :typer in 20461μs :edoc in 10094μs :edoc_data in 11179μs :edoc_doclet in 9856μs :edoc_extract in 11706μs :edoc_layout in 19851μs :edoc_lib in 18171μs :edoc_macros in 11323μs :edoc_parser in 49044μs :edoc_refs in 7710μs :edoc_report in 9066μs :edoc_run in 8224μs :edoc_scanner in 9516μs :edoc_specs in 16233μs :edoc_tags in 17237μs :edoc_types in 13122μs :edoc_wiki in 13921μs :eldap in 24462μs :docgen_edoc_xml_cb in 22804μs :docgen_otp_specs in 17376μs :docgen_xmerl_xml_cb in 6473μs :docgen_xml_to_chunk in 19495μs :et in 9267μs :et_collector in 23535μs :et_selector in 11834μs :et_viewer in 6405μs :et_wx_contents_viewer in 17417μs :et_wx_viewer in 37105μs :eunit in 8703μs :eunit_autoexport in 7007μs :eunit_data in 18527μs :eunit_lib in 25346μs :eunit_proc in 16773μs :eunit_serial in 9252μs :eunit_server in 10796μs :eunit_striptests in 6551μs :eunit_surefire in 11455μs :eunit_test in 11572μs :eunit_tests in 7659μs :eunit_tty in 9639μs :ftp in 49951μs :ftp_app in 7068μs :ftp_progress in 8212μs :ftp_response in 9198μs :ftp_sup in 6394μs :mnesia in 44005μs :mnesia_app in 6345μs :mnesia_backend_type in 7073μs :mnesia_backup in 7725μs :mnesia_bup in 19998μs :mnesia_checkpoint in 27811μs :mnesia_checkpoint_sup in 8279μs :mnesia_controller in 39759μs :mnesia_dumper in 29999μs :mnesia_event in 11901μs :mnesia_ext_sup in 7754μs :mnesia_frag in 31418μs :mnesia_frag_hash in 9124μs :mnesia_index in 16737μs :mnesia_kernel_sup in 8459μs :mnesia_late_loader in 8746μs :mnesia_lib in 25987μs :mnesia_loader in 16525μs :mnesia_locker in 19608μs :mnesia_log in 18723μs :mnesia_monitor in 24075μs :mnesia_recover in 28260μs :mnesia_registry in 10932μs :mnesia_rpc in 9443μs :mnesia_schema in 62770μs :mnesia_snmp_hook in 10478μs :mnesia_sp in 8389μs :mnesia_subscr in 15733μs :mnesia_sup in 9605μs :mnesia_text in 9773μs :mnesia_tm in 42906μs :cdv_atom_cb in 7826μs :cdv_bin_cb in 6612μs :cdv_detail_wx in 10146μs :cdv_dist_cb in 8858μs :cdv_ets_cb in 9245μs :cdv_fun_cb in 8863μs :cdv_gen_cb in 6267μs :cdv_html_wx in 10536μs :cdv_info_wx in 10224μs :cdv_int_tab_cb in 10125μs :cdv_mem_cb in 10565μs :cdv_mod_cb in 10517μs :cdv_multi_wx in 11029μs :cdv_persistent_cb in 8510μs :cdv_port_cb in 8793μs :cdv_proc_cb in 9758μs :cdv_sched_cb in 9669μs :cdv_table_wx in 9064μs :cdv_term_cb in 7397μs :cdv_timer_cb in 9009μs :cdv_virtual_list_wx in 13219μs :cdv_wx in 16368μs :crashdump_viewer in 59488μs :etop in 12651μs :etop_tr in 6841μs :etop_txt in 6859μs :observer in 4958μs :observer_alloc_wx in 12338μs :observer_app_wx in 16106μs :observer_html_lib in 11550μs :observer_lib in 22211μs :observer_perf_wx in 26864μs :observer_port_wx in 18063μs :observer_pro_wx in 18590μs :observer_procinfo in 14625μs :observer_sys_wx in 11518μs :observer_trace_wx in 27948μs :observer_traceoptions_wx in 22165μs :observer_tv_table in 28439μs :observer_tv_wx in 18800μs :observer_wx in 19885μs :ttb in 24076μs :ttb_et in 9258μs :cpu_sup in 14392μs :disksup in 11748μs :memsup in 16633μs :nteventlog in 9174μs :os_mon in 10326μs :os_mon_mib in 9580μs :os_mon_sysinfo in 12793μs :os_sup in 12197μs :leex in 29554μs :yecc in 53135μs :yeccparser in 14320μs :yeccscan in 8267μs :pubkey_cert in 33525μs :pubkey_cert_records in 17136μs :pubkey_crl in 19790μs :pubkey_pbe in 13237μs :pubkey_pem in 14515μs :pubkey_ssh in 22651μs :public_key in 38752μs :reltool in 11396μs :reltool_app_win in 26191μs :reltool_fgraph in 8024μs :reltool_fgraph_win in 19541μs :reltool_mod_win in 20265μs :reltool_server in 37922μs :reltool_sys_win in 40369μs :reltool_target in 32774μs :reltool_utils in 17306μs :appmon_info in 15941μs :dbg in 40808μs :dyntrace in 19698μs :erts_alloc_config in 19052μs :msacc in 14085μs :observer_backend in 21671μs :runtime_tools in 10166μs :runtime_tools_sup in 9071μs :scheduler in 9957μs :system_information in 18499μs :ttb_autostart in 10233μs :alarm_handler in 6277μs :erlsrv in 9500μs :format_lib_supp in 7482μs :misc_supp in 7928μs :rb in 21381μs :rb_format_supp in 8027μs :release_handler in 34281μs :release_handler_1 in 13110μs :sasl in 6862μs :sasl_report in 7025μs :sasl_report_file_h in 5231μs :sasl_report_tty_h in 5931μs :systools in 5960μs :systools_lib in 7246μs :systools_make in 40973μs :systools_rc in 19590μs :systools_relup in 11859μs :ssh in 17456μs :ssh_acceptor in 11240μs :ssh_acceptor_sup in 9601μs :ssh_agent in 11699μs :ssh_app in 8090μs :ssh_auth in 23102μs :ssh_bits in 9778μs :ssh_channel in 10441μs :ssh_channel_sup in 9934μs :ssh_cli in 17722μs :ssh_client_channel in 12908μs :ssh_client_key_api in 12902μs :ssh_connection in 33806μs :ssh_connection_handler in 66191μs :ssh_connection_sup in 9288μs :ssh_daemon_channel in 8798μs :ssh_dbg in 16981μs :ssh_file in 20519μs :ssh_info in 11812μs :ssh_io in 8767μs :ssh_message in 26014μs :ssh_no_io in 10809μs :ssh_options in 22752μs :ssh_server_channel in 7785μs :ssh_server_key_api in 10637μs :ssh_sftp in 28688μs :ssh_sftpd in 19797μs :ssh_sftpd_file in 7146μs :ssh_sftpd_file_api in 7402μs :ssh_shell in 15147μs :ssh_subsystem_sup in 15142μs :ssh_sup in 10169μs :ssh_system_sup in 12372μs :ssh_tcpip_forward_acceptor in 11444μs :ssh_tcpip_forward_acceptor_sup in 9825μs :ssh_tcpip_forward_client in 8124μs :ssh_tcpip_forward_srv in 8074μs :ssh_transport in 48461μs :ssh_xfer in 21189μs :sshc_sup in 12348μs :sshd_sup in 12934μs :dtls_connection in 37156μs :dtls_connection_sup in 3891μs :dtls_handshake in 21009μs :dtls_listener_sup in 4221μs :dtls_packet_demux in 16014μs :dtls_record in 19682μs :dtls_socket in 13084μs :dtls_sup in 3578μs :dtls_v1 in 10707μs :inet6_tls_dist in 11134μs :inet_tls_dist in 25892μs :ssl in 53714μs :ssl_admin_sup in 3961μs :ssl_alert in 15603μs :ssl_app in 3576μs :ssl_certificate in 16119μs :ssl_cipher in 28710μs :ssl_cipher_format in 35752μs :ssl_config in 14466μs :ssl_connection in 68741μs :ssl_connection_sup in 3616μs :ssl_crl in 11732μs :ssl_crl_cache in 12515μs :ssl_crl_cache_api in 10912μs :ssl_crl_hash_dir in 12140μs :ssl_dh_groups in 14592μs :ssl_dist_admin_sup in 8875μs :ssl_dist_connection_sup in 8193μs :ssl_dist_sup in 8356μs :ssl_handshake in 65356μs :ssl_listen_tracker_sup in 6412μs :ssl_logger in 14387μs :ssl_manager in 13941μs :ssl_pem_cache in 8828μs :ssl_pkix_db in 11009μs :ssl_record in 19884μs :ssl_session in 14617μs :ssl_session_cache in 6180μs :ssl_session_cache_api in 10986μs :ssl_srp_primes in 33270μs :ssl_sup in 2958μs :tls_bloom_filter in 10959μs :tls_client_ticket_store in 10382μs :tls_connection in 40446μs :tls_connection_1_3 in 17273μs :tls_connection_sup in 3794μs :tls_handshake in 20338μs :tls_handshake_1_3 in 45345μs :tls_record in 21426μs :tls_record_1_3 in 12854μs :tls_sender in 20306μs :tls_server_session_ticket in 19249μs :tls_server_session_ticket_sup in 4706μs :tls_server_sup in 4081μs :tls_socket in 18103μs :tls_sup in 4447μs :tls_v1 in 21720μs :epp_dodger in 18992μs :erl_comment_scan in 9687μs :erl_prettypr in 28044μs :erl_recomment in 12491μs :erl_syntax in 68957μs :erl_syntax_lib in 23216μs :erl_tidy in 28580μs :igor in 43703μs :merl in 24830μs :merl_transform in 10512μs :prettypr in 15949μs :tftp in 9637μs :tftp_app in 7904μs :tftp_binary in 9545μs :tftp_engine in 27358μs :tftp_file in 11139μs :tftp_lib in 13125μs :tftp_logger in 10264μs :tftp_sup in 11214μs :cover in 48417μs :cprof in 8275μs :eprof in 14304μs :fprof in 35393μs :instrument in 8493μs :lcnt in 20959μs :make in 13173μs :tags in 15524μs :xref in 16959μs :xref_base in 36285μs :xref_compiler in 17439μs :xref_parser in 34430μs :xref_reader in 11877μs :xref_scanner in 7186μs :xref_utils in 15785μs :wx in 17327μs :wx_object in 22686μs :wxe_master in 58307μs :wxe_server in 19010μs :wxe_util in 14682μs :xmerl in 9036μs :xmerl_b64Bin in 11670μs :xmerl_b64Bin_scan in 8904μs :xmerl_eventp in 12594μs :xmerl_html in 8972μs :xmerl_lib in 24459μs :xmerl_otpsgml in 9231μs :xmerl_regexp in 28155μs :xmerl_sax_old_dom in 10731μs :xmerl_sax_parser in 13369μs :xmerl_sax_parser_latin1 in 110211μs :xmerl_sax_parser_list in 89809μs :xmerl_sax_parser_utf16be in 90099μs :xmerl_sax_parser_utf16le in 94386μs :xmerl_sax_parser_utf8 in 101508μs :xmerl_sax_simple_dom in 10561μs :xmerl_scan in 97787μs :xmerl_sgml in 9990μs :xmerl_simple in 11205μs :xmerl_text in 8728μs :xmerl_ucs in 14666μs :xmerl_uri in 13160μs :xmerl_validate in 16872μs :xmerl_xlate in 8862μs :xmerl_xml in 10452μs :xmerl_xpath in 21109μs :xmerl_xpath_lib in 9775μs :xmerl_xpath_parse in 45328μs :xmerl_xpath_pred in 17800μs :xmerl_xpath_scan in 11810μs :xmerl_xs in 8682μs :xmerl_xsd in 110934μs :xmerl_xsd_type in 28884μs ...completed Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/asn1-5.0.13/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/common_test-1.19/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/compiler-7.6.2/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/crypto-4.7/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/debugger-5.0/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/dialyzer-4.2/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/diameter-2.2.3/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/edoc-0.12/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/eldap-1.2.8/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/erl_docgen-1.0/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/erl_interface-4.0/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/erts-11.0.3/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/et-1.6.4/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/eunit-2.5/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/ftp-1.0.4/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/hipe-4.0/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/inets-7.2/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/kernel-7.0/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/megaco-3.19.1/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/mnesia-4.17/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/observer-2.9.4/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/os_mon-2.5.2/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/parsetools-2.2/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/public_key-1.8/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/reltool-0.8/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/runtime_tools-1.15/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/sasl-4.0/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/snmp-5.6/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/ssh-4.10/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/ssl-10.0/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/stdlib-3.13/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/syntax_tools-2.3/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/tftp-1.0.2/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/tools-3.4/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/wx-1.9.1/ebin... ...skipped Interpreting modules under /usr/local/Cellar/erlang/23.0.3/lib/erlang/lib/xmerl-1.3.25/ebin... ...skipped ...and debugger has attached. [info] Running LiveViewStudioWeb.Endpoint with cowboy 2.8.0 at 0.0.0.0:4000 (http) [info] Access LiveViewStudioWeb.Endpoint at http://localhost:4000 [info] CONNECTED TO Phoenix.LiveView.Socket in 210µs Transport: :websocket Serializer: Phoenix.Socket.V2.JSONSerializer Parameters: %{"_csrf_token" => "AhoZZ38GQCcHDncwVgwDCC8cEDpXWzo6fxX2OIyphE4b0aR1yCaLa4HL", "_mounts" => "0", "_track_static" => %{"0" => "http://localhost:4000/css/app.css", "1" => "http://localhost:4000/js/app.js"}, "vsn" => "2.0.0"}

webpack is watching the files…

[hardsource:6a8f334b] Using 2 MB of disk space. [hardsource:6a8f334b] Tracking node dependencies with: package-lock.json. [hardsource:6a8f334b] Reading from cache 6a8f334b... [hardsource:6a8f334b] Could not freeze ./css/app.scss: Cannot read property 'hash' of undefined Hash: a4c7c53b28a24edfee25 Version: webpack 4.41.5 Time: 229ms Built at: 01/09/2021 8:56:12 AM Asset Size Chunks Chunk Names ../css/app.css 13.3 KiB app [emitted] app ../favicon.ico 1.23 KiB [emitted]
../images/phoenix.png 13.6 KiB [emitted]
../robots.txt 202 bytes [emitted]
app.js 363 KiB app [emitted] app Entrypoint app = ../css/app.css app.js [0] multi ./js/app.js 28 bytes {app} [built] [./css/app.scss] 39 bytes {app} [built]

emmahyde commented 3 years ago

I have a similar experience. Only occurs when using the intelliJ debug.