🍺 Join Clicknium for quality support, growth opportunities, and a supportive community

Project Management

Overview #

Clicknium project encapsulates Python automation files to guarantee the automation scripts have the same result in developing, debugging, execution and distribution.

Create Project #

In Visual Studio Code, press Ctrl+Shift+P to show the Command Palette, input or select Clicknium: Create Project, and then select a folder where the project is stored according to the pop-up window. project create

When the project is created, a pop-up window in the lower right corner shows the general project initialization information, and the output panel shows details. After initialization, the current Python virtual environment can be seen when you open app.py.
project create

Run/Debug Project #

Run the project

In Visual Studio Code, press “Ctrl+Shift+P” to show the Command Palette, input or select Clicknium: Run Project. The Clicknium extension will deploy and run the project based on clicknium.yaml. project run

Debug the project

Basics

In Visual Studio Code, set a breakpoint to the code where you want to pause, press Ctrl+Shift+P to show the Command Palette, input or select Clicknium: Debug Project. The Clicknium extension will start project debugging with debug buttons shown at the top of Visual Studio Code.
project debug

ActionShortcut
ContinueF5
PauseF6
Step overF10
Step inF11
Step outShift + F11
RestartCtrl+Shift+F5
StopShift + F5
project debug

Monitor Variables

In the upper left corner of Visual Studio Code, you can see the variables is debugging the running values.

project debug

Debug Console

In Visual Studio Code, open the debug console by “View -> Debug Console.”

project debug console

Project Package #

In Visual Studio Code, press Ctrl+Shift+P to show the Command Palette, input or select Clicknium: Package Project, then select the path to save the executable file. 

The detailed package log Output displays in the Output in Visual Studio Code.

Once the package is finished, the saving folder will be opened to show the target executable file.

If you want to replace the Exe icon, replace the logo.ico file in the project file.

What are your feelings
Updated on 30 August 2023