I assume that you are thinking of line numbers and local variable names.
Both debugging additions do not add additional instructions to the bytecode. Therefore, performance should not be affected. Line numbers and variable names are additional tables in class files and are ignored if you are not actually debugging the code.
javac:
-g
Generate all debugging information, including local variables.
By default, only line number and source file information is generated.
-g:none
Do not generate any debugging information.
-g:{keyword list}
Generate only some kinds of debugging information, specified by
a comma separated list of keywords. Valid keywords are:
source
Source file debugging information
lines
Line number debugging information
vars
Local variable debugging information