This commit is contained in:
Tomas Husak 2021-08-07 13:47:46 +02:00 коммит произвёл GitHub
Родитель 545c42336c
Коммит 6d5646f005
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2,10 +2,10 @@
From now on, you can debug your PHP code running in the browser in Visual Studio ! You just run the *Blazor.Server* in `DEBUG` mode and set the breakpoint to any line of your PHP code. The **Peachpie.Blazor.Sdk** then sets the environment to enable PHP debugging.
![debug](E:\OwnCode\Github\peachpie-blazor\docs\images\debug.png)
![debug](images/debug.png)
## Logging
Because `PhpComponent` and `PhpScriptProvider` have many stages, we provide helpful logs describing the behaviour of the components. Logs are displayed in the browser console by default. If you want to prohibit logging, just add `builder.Logging.SetMinimumLevel(LogLevel.None);` to *Program.cs* in **Blazor.Client** project.
![logs](E:\OwnCode\Github\peachpie-blazor\docs\images\log.png)
![logs](images/log.png)