Skip to content

hardis:project:clean:systemdebug

Description

Clean System.debug() lines in APEX Code (classes and triggers)

Parameters

Name Type Description Default Required Options
delete
-d
boolean Delete lines with System.debug
folder
-f
option Root folder force-app
json boolean format output as json
loglevel option logging level for this command invocation warn trace
debug
info
warn
error
fatal
skipauth boolean Skip authentication check when a default username is required
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sfdx hardis:project:clean:systemdebug