How to Tune a Radio Bug with an Oscilloscope.
The internet describes many ways to find and tune a radio bug (a tiny FM transmitter). Yes, yes, first you have to find the bug, or rather not the bug itself but the frequency it operates on, and only then tune it. It's also important to decide right away what you'll receive this bug on; if this is your first homemade device of this kind, it's best if its frequency is within the 87.5 to 108MHz range, then you'll be able to listen to it with an ordinary radio receiver.
The easiest way to find the frequency a bug transmits on is to use a frequency counter: it will show the frequency precisely, and it costs a few dozen dollars on Aliexpress; the most popular models are the GY560, GY561 and IBQ2006ST.
Tuning a bug means achieving the greatest reception range, but reception range is a consequence of the bug working correctly, and the cause is correct energy distribution. What is meant by correct energy distribution?
Any oscillator on which a bug is based has positive feedback (PFB), through which energy from the oscillator output is fed back to the input. In the picture below, PFB is provided by capacitor C4.

The value of this capacitor determines how much energy is fed from the output back to the input: if too little energy is fed back, the output signal level will be low; if more than needed is fed back, the harmonic level will increase, up to the point where oscillation breaks down. Only a certain amount of energy fed from the output to the input gives the maximum amplitude at the fundamental frequency with the minimum harmonic amplitude.

Let's increase the PFB

As you can see, as the signal increased, the harmonic level grew too.
But you're unlikely to have to select this capacitor; often tuning the oscillator comes down to squeezing or stretching the coil to get the required oscillator frequency.
If the bug consists of several stages, for example a frequency multiplier and amplifier stage after the oscillator, they must be tuned one at a time, again achieving the maximum amplitude of the required harmonic and the minimum amplitude of the others.
Now about how to connect the oscilloscope itself. Since the oscilloscope probe has some capacitance, which becomes part of the resonant circuit when connected, the first thing you can do is set the probe attenuator to 1:10; the capacitance added by the probe will then be a few tens of picofarads, but the measured frequency will still differ slightly from the real one.
But there's a method that lets you measure the oscillation frequency accurately: wind a single turn of wire on a former and solder a capacitor to it; this gives a resonant circuit, and the turn wound on the former will be used for inductive coupling with the circuit, i.e. we'll get information about the oscillations in the oscillator via the magnetic field. The coupling turn should be placed as shown in the second photo, as if it were a continuation of the tank coil.
As for the capacitance of the capacitor and the inductance of the turn used in the pickup circuit, they are chosen so that the resonant frequency of the resulting circuit is very different from the measured frequency; otherwise the oscillations in the pickup circuit will affect the oscillations in the oscillator and introduce an error into the measurement. My capacitor is 1n.
If the transmitter is more powerful, for example a walkie-talkie, you can find the frequency it transmits on in a similar way: just connect the probe tip to the ground clip. The wire connecting the ground clip to the probe has some inductance, which together with the probe capacitance forms a resonant circuit. The difference with this method is that you can catch the frequency the walkie-talkie transmits on from several meters away.
The easiest way to find the frequency a bug transmits on is to use a frequency counter: it will show the frequency precisely, and it costs a few dozen dollars on Aliexpress; the most popular models are the GY560, GY561 and IBQ2006ST.
Tuning a bug means achieving the greatest reception range, but reception range is a consequence of the bug working correctly, and the cause is correct energy distribution. What is meant by correct energy distribution?
Any oscillator on which a bug is based has positive feedback (PFB), through which energy from the oscillator output is fed back to the input. In the picture below, PFB is provided by capacitor C4.

The value of this capacitor determines how much energy is fed from the output back to the input: if too little energy is fed back, the output signal level will be low; if more than needed is fed back, the harmonic level will increase, up to the point where oscillation breaks down. Only a certain amount of energy fed from the output to the input gives the maximum amplitude at the fundamental frequency with the minimum harmonic amplitude.

Let's increase the PFB

As you can see, as the signal increased, the harmonic level grew too.
But you're unlikely to have to select this capacitor; often tuning the oscillator comes down to squeezing or stretching the coil to get the required oscillator frequency.
If the bug consists of several stages, for example a frequency multiplier and amplifier stage after the oscillator, they must be tuned one at a time, again achieving the maximum amplitude of the required harmonic and the minimum amplitude of the others.
Now about how to connect the oscilloscope itself. Since the oscilloscope probe has some capacitance, which becomes part of the resonant circuit when connected, the first thing you can do is set the probe attenuator to 1:10; the capacitance added by the probe will then be a few tens of picofarads, but the measured frequency will still differ slightly from the real one.
But there's a method that lets you measure the oscillation frequency accurately: wind a single turn of wire on a former and solder a capacitor to it; this gives a resonant circuit, and the turn wound on the former will be used for inductive coupling with the circuit, i.e. we'll get information about the oscillations in the oscillator via the magnetic field. The coupling turn should be placed as shown in the second photo, as if it were a continuation of the tank coil.
As for the capacitance of the capacitor and the inductance of the turn used in the pickup circuit, they are chosen so that the resonant frequency of the resulting circuit is very different from the measured frequency; otherwise the oscillations in the pickup circuit will affect the oscillations in the oscillator and introduce an error into the measurement. My capacitor is 1n.
If the transmitter is more powerful, for example a walkie-talkie, you can find the frequency it transmits on in a similar way: just connect the probe tip to the ground clip. The wire connecting the ground clip to the probe has some inductance, which together with the probe capacitance forms a resonant circuit. The difference with this method is that you can catch the frequency the walkie-talkie transmits on from several meters away.

