# Build Profiles Mbed 5.0 supports three primary build profiles, *default*, *debug* and *small*. When using the online compiler the *default* profile is used. When building from the command line the desired profile can be can be selected by adding the ```--profile ``` command line flag. Custom user defined profiles can also be specific by giving the path the the profile. ## Default profile * Small and fast code * Full error information - e.x. asserts have filename and line number * Hard to follow code flow when using a debugger ## Debug profile * Easy to step through code with a debugger * Full error information - e.x. asserts have filename and line number * Largest and slowest profile ## Small profile * Smallest profile and still fast * Minimal error information * Hard to follow code flow when using a debugger