From what you have written about it makies no difference if you file for bankruptcy protection first or after the family law petition. The reason is that under federal bankruptcy law child and spousal support orders cannot be discharged in a bankruptcy.