debug .p3d file

I would like to debug a .p3d file. how can i do this? i am trying to make a .p3d file out of . the .p3d file is crashing after the selection screen.

The first thing to do, I think, would be to look for the log file.

The log file should be within the “log” subdirectory of the Panda runtime directory, the exact location of which should depend on which operating system you’re using. According to the manual, the runtime directory is found as follows:

Thanks i fixed it. code had a wacky file format in it.