HTML/JS
- Python Simple Server:
python3 -m http.server 8000 - PHP Server:
php -S localhost:8000
PHP Server Side Code Debugging
- In Docker instance (WordPress)
- docker exec -it
-u 0 /bin/bash - access docker as a root user apt install php-xdebug- OR use PECL
- Locate
phpdbg - Port forward assigned port
- docker exec -it
- PHPStorm
- Zip contents (/var/www/bitnami/wordpress) and move to PHPStorm
- Sometimes cannot work out directory structure ==> need to resolve path mapping problems
Python Server Side Code Debugging
git clone [repo]- PyCharm
- Refer to Python directory for remote debugging via VSCode + Rsync
Java Server Side Code Debugging
- IntelliJ IDEA
- Can also decompile Jar files
