Tag: debug
-
How to debug Electron application?
In Electron there are two processes: (Main and Renderer) that takes care of the functioning of our desktop application. In order to debug our application, we have to individually debug the Main and Renderer processes. Individual webpages running their renderer processes can be debugged by adding the following line in the main.js file. Here the […]
-
Printing to terminal from Laravel App.
When we want to debug laravel stuff and running a *php artisan serve* on a terminal window, we would like to have a utility similar to printf in C, println in Java.. etc. This can be achieved by the following lines of code: Run your Laravel app and you can see something like below: