Skip to content

[hf] add support for remote-debugging dockerized apps

  • this MR adds runtime arguments to entrpyoint scripts and exposes ports in dev-mode docker containers necessary to use jetbrains IDEs (webstorm, intellij repsectively) to debug signalboost or signald while they run inside of docker
  • for it to work, you also need to add debubber configs in IDEs as follows:
    • select the Run / Edit Configurations menu
    • click the + sign to create a new debuger, then select the option for creating a new debubber configuration:
      • in IntelliJ, this will be called Remote Debugger
      • in WebStorm, this will be called Attach to Node.js/Chrome
    • give the debugger a name, set the host to localhost and fill in the box for port with the port used in the docker-compose file for the container to which you want to attach a debugger
      • for signalboost, this is port 9229
      • for signald, you need 10 debugger configurations, which differ only in the port that they set, ranging from 8010 (for the debugger for the signald-0 container) up to 8019 (for the debugger for the signald-9 container)

Merge request reports