db031424c2
https://github.com/ankitects/anki/pull/2806 + Enable remote debugging with run.bat, like in run. It doesn't allow overriding - someone who better knows .bat scripts will need to handle that if they need it.
13 lines
341 B
Batchfile
Executable File
13 lines
341 B
Batchfile
Executable File
@echo off
|
|
pushd "%~dp0"
|
|
|
|
set PYTHONWARNINGS=default
|
|
set PYTHONPYCACHEPREFIX=out\pycache
|
|
set ANKIDEV=1
|
|
set QTWEBENGINE_REMOTE_DEBUGGING=8080
|
|
set QTWEBENGINE_CHROMIUM_FLAGS=--remote-allow-origins=http://localhost:8080
|
|
|
|
call tools\ninja pylib qt extract:win_amd64_audio || exit /b 1
|
|
.\out\pyenv\scripts\python tools\run.py %* || exit /b 1
|
|
popd
|