For example, you can select to show warnings and successful steps.Īdditional actions related to the configuration. Rerun the selected configuration in Debug mode.įilter the output for the selected configuration. Run the selected configuration in Debug mode. Note that the tool window will only display the configuration types for which you have created one or more configurations.īuttons on the toolbar depend on the selected type of the run/debug configuration and can include the following: Select a run/debug configuration type from the list to add all configurations of this type to the window. In the Services tool window, click Add service, then select Run Configuration Type. Select View | Tool Windows | Services from the main menu or press Alt+8. Add Run/Debug configurations to the Services window You need to explicitly specify the types of configurations you want to be available and create the corresponding configurations. Run/debug configurations are not listed in the Services tool window by default. Move the selected items to a separate tab.Ĭhoose a service type to add. Service Groups: arrange services by group, such as a build tool or a data source nameĬhoose how you want to filter the list of services. Service Type: arrange services by type, such as Run Dashboard, Docker, or Database The main toolbar contains the following buttons and menus that are common for all service types:Ĭhoose how you want to organize the list of services: Plugin developers can add other services through the IntelliJ platform API. Please help.The Services tool window enables you to manage various services that help you during software development, such as run/debug configurations, database sessions, and Docker connections. Docker inspect now reports the container as residing in the desired network and my services can communicate.īut I must be doing this wrong. Fine, so I updated the `container_settings.json` file manually with the `NetworkMode` field and NOW it works. There is an issue with that feature also as it does not accept the `-network` option that I needed for my networks. I had to set it all up again via the "Edit Configurations" menu which weirdly enough seems to mimic the CLI interpreter set up on the "Container" sub menu with one notable field missing, "Network Mode".Īfter fiddling a lot I found that I could set many settings via the "CLI" option by supplying supported docker run CLI options. Either way I thought there might be some magic going on so I did configure the CLI interpreter with the Network Mode set to my desired network (among other things like volumes). In PHPStorm it is not referenced nor does it take(which can be verified via the `docker inspect ` command which shows I'm still part of the default network). In P圜harm you reference the CLI interpreter from the Run Configuration and so when I set the "Network Mode" it takes. In fact, I don't know where the CLI interpreter is even used. I've set up the Python interaction in P圜harm successfully and I thought it would be similar for PHPStorm. I use docker compose to orchestrate their interaction and they all occupy the network "project_default". I have attempted to read all of the documentation (which I'm referencing) relating to this, so if there is something I've missed please advise.Ĭontext(PHPStorm 2017.2): I have a set up where I need to interact with multiple containers: Nginx + PHPfpm + MySQL + Python + RabbitMQ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |