I'm having trouble with the 'debug = true' option. In my 'pycrucible.toml' I have
entrypoint = "main.py"
[options]
debug = true
extract_to_temp = false # Important - the pycrucible_pre_run_installer.py script depends on this
delete_after_run = true
Then I run the embed process like this:
uv run --frozen pycrucible --embed . -o my-exe
But when I run 'my-exe' I don't get any debug output. However if I embed like this:
uv run --frozen pycrucible --debug --embed . -o my-exe
then I get the debug output when embedding and when running 'my-exe'. What I'd like is to be able to have no debug
output when embedding but debug output at runtime.
Or have I misunderstood the 'debug = true' option?
I'm having trouble with the 'debug = true' option. In my 'pycrucible.toml' I have
Then I run the embed process like this:
uv run --frozen pycrucible --embed . -o my-exeBut when I run 'my-exe' I don't get any debug output. However if I embed like this:
uv run --frozen pycrucible --debug --embed . -o my-exethen I get the debug output when embedding and when running 'my-exe'. What I'd like is to be able to have no debug
output when embedding but debug output at runtime.
Or have I misunderstood the 'debug = true' option?