premake/website/docs/debug.prompt.md

12 lines
383 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Opens a REPL (replace-eval-print loop) prompt where you can enter and evaluate Lua commands against the current script environment.
```lua
debug.prompt()
```
This call is also tied to the `--interactive` flag: specifying this flag will open a prompt after the project scripts have been executed and "baked" for the current environment.
### Availability ###
Premake 5.0 or later.