Category : vscode-debugger

Recently I have been dabbling with dart servers. I wanted to get everything to be dockerized for debugging purposes and likely eventually for release purposes. I have a server that I am successfully serving in a docker container. I am successfully attaching to the process in vscode by usings the launch.json dart/attach method the comes ..

Read more

This is the error I am getting for the following setting. > Executing task: docker-run: debug < > docker run -dt -P –name "latticeconsumption-dev" –label "com.microsoft.created-by=visual-studio-code" -v "/Users/sparshgoil/Documents/locale/lattice-consumption:/app" -v "/Users/sparshgoil/.vscode/extensions/ms-python.python-2021.9.1230869389/pythonFiles/lib/python/debugpy:/debugpy:ro" –entrypoint "python3" "latticeconsumption:latest" < WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Below ..

Read more

I set up a Laravel dev environment using Docker – nginx:stable-alpine, php:8.0-fpm-alpine and mysql:5.7.32. I install Xdebug from my php.dockerfile: RUN apk –no-cache add pcre-dev ${PHPIZE_DEPS} && pecl install xdebug && docker-php-ext-enable xdebug && apk del pcre-dev ${PHPIZE_DEPS} And include two volumes in docker-compose to point php to xdebug.ini and error_reporting.ini: volumes: – .:/var/www/html – ..

Read more

Hellow I am using docker-compose to run a python file here is the dockerfile FROM python:3.6.5 as base ARG build_env=primary RUN pip3 install –upgrade pip COPY requirements.txt / RUN pip3 install -r requirements.txt WORKDIR /code COPY / /code # FROM base as debugger RUN pip3 install ptvsd CMD python -m ptvsd –host 0.0.0.0 –port 5678 ..

Read more