I noticed this was broken because launch.json configurations would still start the debugger even when the preLaunchTask (build) failed!