Yii v2 snippet guide III

Comparing #50 with #51

Revision #51 was created by rackycz rackycz on Mar 8, 2021, 9:11:03 PM.

Docker

Content

[...]
Note: You can/must specify the **idekey** and **client_port** based on your IDE settings. Plus your Yii project must be well configured in the IDE as well. In NetBeans make sure that "Project URL" and "index file" are correct in "Properties/Run Configuration" (right click the project)

Note 2: Please keep in mind that xDebug2 and xDebug3 have different settings. Details [here](https://xdebug.org/docs/).

> I spent on this approximately 8 hours. Hopefully someone will enjoy it :-) Sadly, this configuration is not present in docker-compose.yml. It would be soooo handy.
 
 

**How to enter Docker's bash (cli, command line)**
---

Navigate in command line to the folder of your docker-project and run command:
- docker ps
[...]