Skip to content

feat(debug): enhance debug functionality with section management and logging#54

Merged
rulasg merged 1 commit intomainfrom
improve-mydebug
Mar 8, 2026
Merged

feat(debug): enhance debug functionality with section management and logging#54
rulasg merged 1 commit intomainfrom
improve-mydebug

Conversation

@rulasg
Copy link
Owner

@rulasg rulasg commented Mar 8, 2026

Enhance the debug functionality by introducing section management and logging capabilities. This update allows for better organization and tracking of debug information.

  • feat(debug): enhance debug functionality with section management and logging

@rulasg rulasg enabled auto-merge March 8, 2026 18:58
@rulasg rulasg merged commit 7cb2329 into main Mar 8, 2026
2 checks passed
@rulasg rulasg deleted the improve-mydebug branch March 8, 2026 18:58
}
}

function get-Sections(){

Check warning

Code scanning / PSScriptAnalyzer

The cmdlet 'get-Sections' uses a plural noun. A singular noun should be used instead. Warning

The cmdlet 'get-Sections' uses a plural noun. A singular noun should be used instead.
return $sections
}

function set-Sections($sections){

Check warning

Code scanning / PSScriptAnalyzer

Function 'set-Sections' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning

Function 'set-Sections' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.
return $sections
}

function set-Sections($sections){

Check warning

Code scanning / PSScriptAnalyzer

The cmdlet 'set-Sections' uses a plural noun. A singular noun should be used instead. Warning

The cmdlet 'set-Sections' uses a plural noun. A singular noun should be used instead.
return $logfile
}

function set-LogFile($logFilePath){

Check warning

Code scanning / PSScriptAnalyzer

Function 'set-LogFile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning

Function 'set-LogFile' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.
# Assert
Assert-DebugEnv "all" $logfilename

#arrange

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
}

function Test_EnableMyDebug_GetDebug{

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
$flagsString = "all"
}
}

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
[cmdletbinding()]
param()

return @{

Check notice

Code scanning / PSScriptAnalyzer

The cmdlet 'Get-ModuleNameDebug' returns an object of type 'System.Collections.Hashtable' but this type is not declared in the OutputType attribute. Note

The cmdlet 'Get-ModuleNameDebug' returns an object of type 'System.Collections.Hashtable' but this type is not declared in the OutputType attribute.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant