From 3c2ff7b3d8e4bc24eee21e2e4265f0bb331e8642 Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Wed, 19 Apr 2023 14:12:44 -0400 Subject: [PATCH] Note `textual console` devtool (and slowness) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 70ca568..eec39da 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,10 @@ python paint.py `--restart-on-changes` automatically restarts the program when any Python files change. This works by the program restarting itself directly. (Programs like `modd` or `nodemon` that run your program in a subprocess don't work well with Textual's escape sequences.) There are also launch tasks configured for VS Code, so you can run the program from the Run and Debug panel. +Note that it runs slower in VS Code's debugger. + +To see logs, run [`textual console`](https://textual.textualize.io/guide/devtools/#console) and then run the program via `textual run --dev`. +This also makes it run slower. ### Update Dependencies