Create a /bin/sh wrapper to your docker container and then point PHP Intellisense at the wrapper:
#!/bin/sh
docker run \
--rm \
-i \
--network=host \
-v "$HOME":"$HOME":ro \
# Add the following 'help' target to your Makefile | |
# And add help text after each target name starting with '\#\#' | |
help: ## Show this help. | |
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
# Everything below is an example | |
target00: ## This message will show up when typing 'make help' | |
@echo does nothing |
Create a /bin/sh wrapper to your docker container and then point PHP Intellisense at the wrapper:
#!/bin/sh
docker run \
--rm \
-i \
--network=host \
-v "$HOME":"$HOME":ro \